#301B86#301B86
#301B86 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.164 H 281.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #301B86 |
|---|---|
| RGB | rgb(48, 27, 134) |
| HSL | hsl(252, 66%, 32%) |
| HSV | hsv(252, 80%, 53%) |
| CMYK | cmyk(64.2%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.57, 40.49, -55.79) |
| CIE-LCH | lch(20.57, 68.93, 305.97°) |
| OKLab | oklab(33.33% 0.0335 -0.1609) |
| OKLCH | oklch(33.33% 0.164 281.7) |
| XYZ | xyz(5.9126, 3.1330, 22.8428) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.52
Indigo (survey)
#380282
ΔE00 3.97
Midnight Blue
#191970
ΔE00 4.44
Darkblue
#00008B
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.58
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301B86 #71861B
analogous
#1B3C86 #301B86 #661B86
triadic
#301B86 #86301B #1B8630
tetradic
#301B86 #861B3C #71861B #1B8666
square
#301B86 #861B3C #71861B #1B8666
split-complementary
#301B86 #86661B #3C861B
monochromatic
#0C0620 #1E1153 #301B86 #4225B9 #6042D9
Accessibility & contrast
On white
12.91
#301B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#301B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301B86
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301B86 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 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: #301b86; /* rgb */ color: rgb(48, 27, 134); /* oklch */ color: oklch(33.3% 0.164 281.7);
Tailwind
colors: {
custom: {
50: '#755baa',
500: '#301b86',
950: '#000000',
},
}SCSS
$custom: #301b86; $custom-light: #755baa; $custom-dark: #000000;
JSON
{
"hex": "#301b86",
"rgb": {
"r": 48,
"g": 27,
"b": 134
},
"hsl": {
"h": 251.776,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.33332,
"c": 0.16439,
"h": 281.7
},
"luminance": 0.03133
}Semantic roles & 50–950 ramp
primary
#301B86
secondary
#A2B944
accent
#E93EC8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F