#330D59 color
#330D59 is a dark, vivid violet, closest to the CSS named color midnightblue (#191970).
Color values
| HEX | #330D59 |
| RGB | rgb(51, 13, 89) |
| HSL | hsl(270, 75%, 20%) |
| CMYK | cmyk(43%, 85%, 0%, 65%) |
| Decimal | 3345753 |
| CSS | color: #330D59; |
| Android | 0xFF330D59 |
| Swift | UIColor(red: 0.200, green: 0.051, blue: 0.349, alpha: 1) |
Accessibility and contrast
| White text on #330D59 | 15.64:1 — AA pass · AA large pass · AAA pass |
| Black text on #330D59 | 1.34:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #330D59
Each swatch keeps the hue and saturation of #330D59 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #330D59
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #330D59 in code
/* CSS */
.element { color: #330D59; background-color: #330D59; }
.element { color: rgb(51 13 89); }
.element { color: hsl(270 75% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#330D59] text-white">
/* SCSS variable */
$brand: #330D59;
Frequently asked questions
What color is #330D59?
#330D59 is a dark, vivid violet. Its hue sits at 270° on the color wheel, with 75% saturation and 20% lightness.
What is #330D59 in RGB?
#330D59 converts to rgb(51, 13, 89) — 51 red, 13 green and 89 blue.
What is #330D59 in CMYK?
Approximately cmyk(43%, 85%, 0%, 65%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #330D59 be white or black?
White gives the better contrast ratio (15.64:1 versus 1.34:1).
What is the complementary color of #330D59?
#33590D — the hue directly opposite #330D59 on the color wheel.