#30207E#30207E
#30207E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.149 H 282.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #30207E |
|---|---|
| RGB | rgb(48, 32, 126) |
| HSL | hsl(250, 59%, 31%) |
| HSV | hsv(250, 75%, 49%) |
| CMYK | cmyk(61.9%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.70, 35.20, -50.52) |
| CIE-LCH | lch(20.70, 61.57, 304.87°) |
| OKLab | oklab(33.17% 0.032 -0.1456) |
| OKLCH | oklch(33.17% 0.149 282.4) |
| XYZ | xyz(5.5002, 3.1674, 20.0562) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.65
Royal
#0C1793
ΔE00 4.75
Indigo (survey)
#380282
ΔE00 5.25
Dark Royal Blue
#02066F
ΔE00 6.59
Darkblue
#00008B
ΔE00 6.69
Indigo
#4B0082
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30207E #6E7E20
analogous
#203F7E #30207E #5F207E
triadic
#30207E #7E3020 #207E30
tetradic
#30207E #7E203F #6E7E20 #207E5F
square
#30207E #7E203F #6E7E20 #207E5F
split-complementary
#30207E #7E5F20 #3F7E20
monochromatic
#0B071C #1D144D #30207E #432CAF #5F48D0
Accessibility & contrast
On white
12.86
#30207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#30207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30207E
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30207E | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #30207e; /* rgb */ color: rgb(48, 32, 126); /* oklch */ color: oklch(33.2% 0.149 282.4);
Tailwind
colors: {
custom: {
50: '#735da4',
500: '#30207e',
950: '#000000',
},
}SCSS
$custom: #30207e; $custom-light: #735da4; $custom-dark: #000000;
JSON
{
"hex": "#30207e",
"rgb": {
"r": 48,
"g": 32,
"b": 126
},
"hsl": {
"h": 250.213,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.33175,
"c": 0.14905,
"h": 282.4
},
"luminance": 0.03168
}Semantic roles & 50–950 ramp
primary
#30207E
secondary
#9FB149
accent
#E345C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F