#30207B#30207B
#30207B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.145 H 283.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #30207B |
|---|---|
| RGB | rgb(48, 32, 123) |
| HSL | hsl(251, 59%, 30%) |
| HSV | hsv(251, 74%, 48%) |
| CMYK | cmyk(61%, 74%, 0%, 51.8%) |
| CIE-LAB | lab(20.41, 34.22, -49.10) |
| CIE-LCH | lch(20.41, 59.84, 304.87°) |
| OKLab | oklab(32.87% 0.0326 -0.1414) |
| OKLCH | oklch(32.87% 0.145 283) |
| XYZ | xyz(5.3095, 3.0911, 19.0519) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.45
Royal
#0C1793
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.41
Dark Royal Blue
#02066F
ΔE00 6.55
Indigo
#4B0082
ΔE00 6.81
Deep Blue
#040273
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30207B #6B7B20
analogous
#203E7B #30207B #5D207B
triadic
#30207B #7B3020 #207B30
tetradic
#30207B #7B203E #6B7B20 #207B5D
square
#30207B #7B203E #6B7B20 #207B5D
split-complementary
#30207B #7B5D20 #3E7B20
monochromatic
#0A071A #1D134A #30207B #432DAC #5E46CF
Accessibility & contrast
On white
12.98
#30207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#30207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30207B
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30207B | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#02394B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #30207b; /* rgb */ color: rgb(48, 32, 123); /* oklch */ color: oklch(32.9% 0.145 283.0);
Tailwind
colors: {
custom: {
50: '#725da2',
500: '#30207b',
950: '#000000',
},
}SCSS
$custom: #30207b; $custom-light: #725da2; $custom-dark: #000000;
JSON
{
"hex": "#30207b",
"rgb": {
"r": 48,
"g": 32,
"b": 123
},
"hsl": {
"h": 250.549,
"s": 58.71,
"l": 30.392
},
"oklch": {
"l": 0.32873,
"c": 0.14514,
"h": 283
},
"luminance": 0.03091
}Semantic roles & 50–950 ramp
primary
#30207B
secondary
#9CAE49
accent
#E246C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F