#301A82#301A82
#301A82 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.160 H 282.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #301A82 |
|---|---|
| RGB | rgb(48, 26, 130) |
| HSL | hsl(253, 67%, 31%) |
| HSV | hsv(253, 80%, 51%) |
| CMYK | cmyk(63.1%, 80%, 0%, 49%) |
| CIE-LAB | lab(19.96, 39.76, -54.28) |
| CIE-LCH | lch(19.96, 67.28, 306.22°) |
| OKLab | oklab(32.78% 0.0353 -0.1565) |
| OKLCH | oklch(32.78% 0.16 282.7) |
| XYZ | xyz(5.6163, 2.9785, 21.3937) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.76
Royal
#0C1793
ΔE00 3.90
Midnight Blue
#191970
ΔE00 4.05
Darkblue
#00008B
ΔE00 5.34
Navy
#000080
ΔE00 5.54
Indigo
#4B0082
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301A82 #6C821A
analogous
#1A3882 #301A82 #641A82
triadic
#301A82 #82301A #1A8230
tetradic
#301A82 #821A38 #6C821A #1A8264
square
#301A82 #821A38 #6C821A #1A8264
split-complementary
#301A82 #82641A #38821A
monochromatic
#0A061C #1D104F #301A82 #4324B5 #5F3ED8
Accessibility & contrast
On white
13.16
#301A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#301A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301A82
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301A82 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #301a82; /* rgb */ color: rgb(48, 26, 130); /* oklch */ color: oklch(32.8% 0.160 282.7);
Tailwind
colors: {
custom: {
50: '#745aa7',
500: '#301a82',
950: '#000000',
},
}SCSS
$custom: #301a82; $custom-light: #745aa7; $custom-dark: #000000;
JSON
{
"hex": "#301a82",
"rgb": {
"r": 48,
"g": 26,
"b": 130
},
"hsl": {
"h": 252.692,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.32776,
"c": 0.16045,
"h": 282.7
},
"luminance": 0.02979
}Semantic roles & 50–950 ramp
primary
#301A82
secondary
#9DB642
accent
#EA3EC5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F