#33207E#33207E
#33207E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.149 H 284.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #33207E |
|---|---|
| RGB | rgb(51, 32, 126) |
| HSL | hsl(252, 59%, 31%) |
| HSV | hsv(252, 75%, 49%) |
| CMYK | cmyk(59.5%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.99, 35.65, -50.03) |
| CIE-LCH | lch(20.99, 61.43, 305.47°) |
| OKLab | oklab(33.45% 0.0365 -0.1441) |
| OKLCH | oklch(33.45% 0.149 284.2) |
| XYZ | xyz(5.6465, 3.2428, 20.0630) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.01
Royal
#0C1793
ΔE00 5.03
Indigo (survey)
#380282
ΔE00 5.08
Indigo
#4B0082
ΔE00 6.34
Dark Royal Blue
#02066F
ΔE00 6.82
Darkblue
#00008B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33207E #6B7E20
analogous
#203C7E #33207E #62207E
triadic
#33207E #7E3320 #207E33
tetradic
#33207E #7E203C #6B7E20 #207E62
square
#33207E #7E203C #6B7E20 #207E62
split-complementary
#33207E #7E6220 #3C7E20
monochromatic
#0B071C #1F144D #33207E #472CAF #6448D0
Accessibility & contrast
On white
12.74
#33207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#33207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33207E
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33207E | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#0A3A4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #33207e; /* rgb */ color: rgb(51, 32, 126); /* oklch */ color: oklch(33.5% 0.149 284.2);
Tailwind
colors: {
custom: {
50: '#745da4',
500: '#33207e',
950: '#000000',
},
}SCSS
$custom: #33207e; $custom-light: #745da4; $custom-dark: #000000;
JSON
{
"hex": "#33207e",
"rgb": {
"r": 51,
"g": 32,
"b": 126
},
"hsl": {
"h": 252.128,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.33451,
"c": 0.14862,
"h": 284.2
},
"luminance": 0.03243
}Semantic roles & 50–950 ramp
primary
#33207E
secondary
#9CB149
accent
#E345C3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F