#33107E#33107E
#33107E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.164 H 286.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #33107E |
|---|---|
| RGB | rgb(51, 16, 126) |
| HSL | hsl(259, 77%, 28%) |
| HSV | hsv(259, 87%, 49%) |
| CMYK | cmyk(59.5%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(18.28, 43.45, -54.50) |
| CIE-LCH | lch(18.28, 69.70, 308.57°) |
| OKLab | oklab(31.56% 0.0476 -0.1569) |
| OKLCH | oklch(31.56% 0.164 286.9) |
| XYZ | xyz(5.3153, 2.5804, 19.9526) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 1.91
Indigo
#4B0082
ΔE00 4.18
Navy
#000080
ΔE00 4.78
Darkblue
#00008B
ΔE00 4.80
Midnight Blue
#191970
ΔE00 4.82
Royal
#0C1793
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33107E #5B7E10
analogous
#10247E #33107E #6A107E
triadic
#33107E #7E3310 #107E33
tetradic
#33107E #7E1024 #5B7E10 #107E6A
square
#33107E #7E1024 #5B7E10 #107E6A
split-complementary
#33107E #7E6A10 #247E10
monochromatic
#0B031B #1D0948 #33107E #4917B4 #6225E3
Accessibility & contrast
On white
13.85
#33107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#33107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33107E
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33107E | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#0D3349
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #33107e; /* rgb */ color: rgb(51, 16, 126); /* oklch */ color: oklch(31.6% 0.164 286.9);
Tailwind
colors: {
custom: {
50: '#7555a5',
500: '#33107e',
950: '#000000',
},
}SCSS
$custom: #33107e; $custom-light: #7555a5; $custom-dark: #000000;
JSON
{
"hex": "#33107e",
"rgb": {
"r": 51,
"g": 16,
"b": 126
},
"hsl": {
"h": 259.091,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.31559,
"c": 0.16401,
"h": 286.9
},
"luminance": 0.02581
}Semantic roles & 50–950 ramp
primary
#33107E
secondary
#8CB436
accent
#F434B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F