#301C85#301C85
#301C85 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.162 H 281.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #301C85 |
|---|---|
| RGB | rgb(48, 28, 133) |
| HSL | hsl(251, 65%, 32%) |
| HSV | hsv(251, 79%, 52%) |
| CMYK | cmyk(63.9%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.64, 39.66, -55.04) |
| CIE-LCH | lch(20.64, 67.84, 305.77°) |
| OKLab | oklab(33.35% 0.0331 -0.1588) |
| OKLCH | oklch(33.35% 0.162 281.8) |
| XYZ | xyz(5.8665, 3.1519, 22.4850) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.65
Indigo (survey)
#380282
ΔE00 4.17
Midnight Blue
#191970
ΔE00 4.30
Darkblue
#00008B
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 5.80
Navy
#000080
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C85 #71851C
analogous
#1C3D85 #301C85 #651C85
triadic
#301C85 #85301C #1C8530
tetradic
#301C85 #851C3D #71851C #1C8565
square
#301C85 #851C3D #71851C #1C8565
split-complementary
#301C85 #85651C #3D851C
monochromatic
#0C0720 #1E1152 #301C85 #4227B8 #6044D8
Accessibility & contrast
On white
12.88
#301C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#301C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C85
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C85 | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #301c85; /* rgb */ color: rgb(48, 28, 133); /* oklch */ color: oklch(33.4% 0.162 281.8);
Tailwind
colors: {
custom: {
50: '#745baa',
500: '#301c85',
950: '#000000',
},
}SCSS
$custom: #301c85; $custom-light: #745baa; $custom-dark: #000000;
JSON
{
"hex": "#301c85",
"rgb": {
"r": 48,
"g": 28,
"b": 133
},
"hsl": {
"h": 251.429,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.33351,
"c": 0.16218,
"h": 281.8
},
"luminance": 0.03152
}Semantic roles & 50–950 ramp
primary
#301C85
secondary
#A2B845
accent
#E840C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F