#33187C#33187C
#33187C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.155 H 286.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #33187C |
|---|---|
| RGB | rgb(51, 24, 124) |
| HSL | hsl(256, 68%, 29%) |
| HSV | hsv(256, 81%, 49%) |
| CMYK | cmyk(58.9%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.27, 39.32, -51.58) |
| CIE-LCH | lch(19.27, 64.86, 307.32°) |
| OKLab | oklab(32.18% 0.0433 -0.1485) |
| OKLCH | oklch(32.18% 0.155 286.3) |
| XYZ | xyz(5.3289, 2.8120, 19.3268) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.37
Midnight Blue
#191970
ΔE00 4.05
Royal
#0C1793
ΔE00 4.93
Indigo
#4B0082
ΔE00 5.01
Navy
#000080
ΔE00 5.69
Dark Royal Blue
#02066F
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33187C #617C18
analogous
#182F7C #33187C #65187C
triadic
#33187C #7C3318 #187C33
tetradic
#33187C #7C182F #617C18 #187C65
square
#33187C #7C182F #617C18 #187C65
split-complementary
#33187C #7C6518 #2F7C18
monochromatic
#0B051A #1E0E49 #33187C #4822AF #6236D8
Accessibility & contrast
On white
13.44
#33187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#33187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33187C
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33187C | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#0F354A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #33187c; /* rgb */ color: rgb(51, 24, 124); /* oklch */ color: oklch(32.2% 0.155 286.3);
Tailwind
colors: {
custom: {
50: '#7459a3',
500: '#33187c',
950: '#000000',
},
}SCSS
$custom: #33187c; $custom-light: #7459a3; $custom-dark: #000000;
JSON
{
"hex": "#33187c",
"rgb": {
"r": 51,
"g": 24,
"b": 124
},
"hsl": {
"h": 256.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.32182,
"c": 0.15472,
"h": 286.3
},
"luminance": 0.02812
}Semantic roles & 50–950 ramp
primary
#33187C
secondary
#92B13F
accent
#EA3DBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F