#33237F#33237F
#33237F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.146 H 283.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #33237F |
|---|---|
| RGB | rgb(51, 35, 127) |
| HSL | hsl(250, 57%, 32%) |
| HSV | hsv(250, 72%, 50%) |
| CMYK | cmyk(59.8%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(21.72, 34.22, -49.47) |
| CIE-LCH | lch(21.72, 60.16, 304.67°) |
| OKLab | oklab(34% 0.0337 -0.1424) |
| OKLCH | oklch(34% 0.146 283.3) |
| XYZ | xyz(5.7959, 3.4378, 20.4327) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.24
Royal
#0C1793
ΔE00 5.24
Indigo (survey)
#380282
ΔE00 5.81
Indigo
#4B0082
ΔE00 6.97
Dark Royal Blue
#02066F
ΔE00 7.38
Darkblue
#00008B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33237F #6F7F23
analogous
#23417F #33237F #61237F
triadic
#33237F #7F3323 #237F33
tetradic
#33237F #7F2341 #6F7F23 #237F61
square
#33237F #7F2341 #6F7F23 #237F61
split-complementary
#33237F #7F6123 #417F23
monochromatic
#0C091F #20164F #33237F #4630AF #644ECE
Accessibility & contrast
On white
12.44
#33237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#33237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33237F
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33237F | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#083B4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #33237f; /* rgb */ color: rgb(51, 35, 127); /* oklch */ color: oklch(34.0% 0.146 283.3);
Tailwind
colors: {
custom: {
50: '#745fa5',
500: '#33237f',
950: '#000000',
},
}SCSS
$custom: #33237f; $custom-light: #745fa5; $custom-dark: #000000;
JSON
{
"hex": "#33237f",
"rgb": {
"r": 51,
"g": 35,
"b": 127
},
"hsl": {
"h": 250.435,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.33998,
"c": 0.14638,
"h": 283.3
},
"luminance": 0.03438
}Semantic roles & 50–950 ramp
primary
#33237F
secondary
#A0B14C
accent
#E048C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F