#301C86#301C86
#301C86 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.163 H 281.6°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #301C86 |
|---|---|
| RGB | rgb(48, 28, 134) |
| HSL | hsl(251, 65%, 32%) |
| HSV | hsv(251, 79%, 53%) |
| CMYK | cmyk(64.2%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.75, 39.97, -55.49) |
| CIE-LCH | lch(20.75, 68.39, 305.77°) |
| OKLab | oklab(33.46% 0.0328 -0.1601) |
| OKLCH | oklch(33.46% 0.163 281.6) |
| XYZ | xyz(5.9359, 3.1797, 22.8506) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.56
Indigo (survey)
#380282
ΔE00 4.18
Midnight Blue
#191970
ΔE00 4.41
Darkblue
#00008B
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.67
Navy
#000080
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C86 #72861C
analogous
#1C3D86 #301C86 #651C86
triadic
#301C86 #86301C #1C8630
tetradic
#301C86 #861C3D #72861C #1C8665
square
#301C86 #861C3D #72861C #1C8665
split-complementary
#301C86 #86651C #3D861C
monochromatic
#0C0721 #1E1153 #301C86 #4227B9 #6044D8
Accessibility & contrast
On white
12.84
#301C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#301C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C86
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C86 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #301c86; /* rgb */ color: rgb(48, 28, 134); /* oklch */ color: oklch(33.5% 0.163 281.6);
Tailwind
colors: {
custom: {
50: '#755baa',
500: '#301c86',
950: '#000000',
},
}SCSS
$custom: #301c86; $custom-light: #755baa; $custom-dark: #000000;
JSON
{
"hex": "#301c86",
"rgb": {
"r": 48,
"g": 28,
"b": 134
},
"hsl": {
"h": 251.321,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.33458,
"c": 0.16342,
"h": 281.6
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#301C86
secondary
#A3B945
accent
#E83FC9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F