#30136E#30136E
#30136E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.143 H 289.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #30136E |
|---|---|
| RGB | rgb(48, 19, 110) |
| HSL | hsl(259, 71%, 25%) |
| HSV | hsv(259, 83%, 43%) |
| CMYK | cmyk(56.4%, 82.7%, 0%, 56.9%) |
| CIE-LAB | lab(16.60, 37.16, -46.98) |
| CIE-LCH | lch(16.60, 59.90, 308.35°) |
| OKLab | oklab(29.79% 0.0466 -0.1351) |
| OKLCH | oklch(29.79% 0.143 289) |
| XYZ | xyz(4.2654, 2.2197, 14.9525) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.10
Dark Indigo
#1F0954
ΔE00 4.87
Dark Royal Blue
#02066F
ΔE00 5.03
Darkblue (survey)
#030764
ΔE00 5.24
Deep Blue
#040273
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30136E #516E13
analogous
#13236E #30136E #5D136E
triadic
#30136E #6E3013 #136E30
tetradic
#30136E #6E1323 #516E13 #136E5D
square
#30136E #6E1323 #516E13 #136E5D
split-complementary
#30136E #6E5D13 #236E13
monochromatic
#0B051A #190A3A #30136E #471CA2 #5E25D6
Accessibility & contrast
On white
14.54
#30136E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#30136E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30136E
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30136E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30136E | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#172D40
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #30136e; /* rgb */ color: rgb(48, 19, 110); /* oklch */ color: oklch(29.8% 0.143 289.0);
Tailwind
colors: {
custom: {
50: '#715599',
500: '#30136e',
950: '#000000',
},
}SCSS
$custom: #30136e; $custom-light: #715599; $custom-dark: #000000;
JSON
{
"hex": "#30136e",
"rgb": {
"r": 48,
"g": 19,
"b": 110
},
"hsl": {
"h": 259.121,
"s": 70.543,
"l": 25.294
},
"oklch": {
"l": 0.29792,
"c": 0.14294,
"h": 289
},
"luminance": 0.0222
}Semantic roles & 50–950 ramp
primary
#30136E
secondary
#82A538
accent
#ED3AB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E