#30146E#30146E
#30146E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.142 H 288.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #30146E |
|---|---|
| RGB | rgb(48, 20, 110) |
| HSL | hsl(259, 69%, 25%) |
| HSV | hsv(259, 82%, 43%) |
| CMYK | cmyk(56.4%, 81.8%, 0%, 56.9%) |
| CIE-LAB | lab(16.77, 36.68, -46.70) |
| CIE-LCH | lch(16.77, 59.38, 308.15°) |
| OKLab | oklab(29.91% 0.0459 -0.1343) |
| OKLCH | oklch(29.91% 0.142 288.8) |
| XYZ | xyz(4.2827, 2.2543, 14.9583) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.81
Indigo (survey)
#380282
ΔE00 4.24
Dark Indigo
#1F0954
ΔE00 4.92
Dark Royal Blue
#02066F
ΔE00 5.12
Darkblue (survey)
#030764
ΔE00 5.30
Deep Blue
#040273
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30146E #526E14
analogous
#14256E #30146E #5D146E
triadic
#30146E #6E3014 #146E30
tetradic
#30146E #6E1425 #526E14 #146E5D
square
#30146E #6E1425 #526E14 #146E5D
split-complementary
#30146E #6E5D14 #256E14
monochromatic
#0B051A #190B3A #30146E #471DA2 #5D27D6
Accessibility & contrast
On white
14.47
#30146E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#30146E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30146E
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30146E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30146E | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#172E41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #30146e; /* rgb */ color: rgb(48, 20, 110); /* oklch */ color: oklch(29.9% 0.142 288.8);
Tailwind
colors: {
custom: {
50: '#705599',
500: '#30146e',
950: '#000000',
},
}SCSS
$custom: #30146e; $custom-light: #705599; $custom-dark: #000000;
JSON
{
"hex": "#30146e",
"rgb": {
"r": 48,
"g": 20,
"b": 110
},
"hsl": {
"h": 258.667,
"s": 69.231,
"l": 25.49
},
"oklch": {
"l": 0.29909,
"c": 0.14194,
"h": 288.8
},
"luminance": 0.02254
}Semantic roles & 50–950 ramp
primary
#30146E
secondary
#83A539
accent
#EC3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E