#30136F#30136F
#30136F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.144 H 288.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #30136F |
|---|---|
| RGB | rgb(48, 19, 111) |
| HSL | hsl(259, 71%, 25%) |
| HSV | hsv(259, 83%, 44%) |
| CMYK | cmyk(56.8%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(16.71, 37.46, -47.45) |
| CIE-LCH | lch(16.71, 60.46, 308.29°) |
| OKLab | oklab(29.9% 0.0463 -0.1365) |
| OKLCH | oklch(29.9% 0.144 288.7) |
| XYZ | xyz(4.3202, 2.2416, 15.2409) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 3.97
Dark Royal Blue
#02066F
ΔE00 4.98
Dark Indigo
#1F0954
ΔE00 5.01
Deep Blue
#040273
ΔE00 5.17
Darkblue (survey)
#030764
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30136F #526F13
analogous
#13246F #30136F #5E136F
triadic
#30136F #6F3013 #136F30
tetradic
#30136F #6F1324 #526F13 #136F5E
square
#30136F #6F1324 #526F13 #136F5E
split-complementary
#30136F #6F5E13 #246F13
monochromatic
#0B041A #190A3B #30136F #471CA3 #5D25D8
Accessibility & contrast
On white
14.50
#30136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#30136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30136F
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30136F | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#162E41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #30136f; /* rgb */ color: rgb(48, 19, 111); /* oklch */ color: oklch(29.9% 0.144 288.7);
Tailwind
colors: {
custom: {
50: '#715599',
500: '#30136f',
950: '#000000',
},
}SCSS
$custom: #30136f; $custom-light: #715599; $custom-dark: #000000;
JSON
{
"hex": "#30136f",
"rgb": {
"r": 48,
"g": 19,
"b": 111
},
"hsl": {
"h": 258.913,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.29899,
"c": 0.14414,
"h": 288.7
},
"luminance": 0.02242
}Semantic roles & 50–950 ramp
primary
#30136F
secondary
#83A638
accent
#EE3AB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E