#301C90#301C90
#301C90 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.176 H 279.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #301C90 |
|---|---|
| RGB | rgb(48, 28, 144) |
| HSL | hsl(250, 67%, 34%) |
| HSV | hsv(250, 81%, 56%) |
| CMYK | cmyk(66.7%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(21.84, 43.09, -59.94) |
| CIE-LCH | lch(21.84, 73.81, 305.71°) |
| OKLab | oklab(34.55% 0.0299 -0.173) |
| OKLCH | oklch(34.55% 0.176 279.8) |
| XYZ | xyz(6.6666, 3.4720, 26.6990) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Cobalt Blue
#030AA7
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.75
Royal Blue (survey)
#0504AA
ΔE00 4.96
Ultramarine
#2000B1
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301C90 #7C901C
analogous
#1C4290 #301C90 #6A1C90
triadic
#301C90 #90301C #1C9030
tetradic
#301C90 #901C42 #7C901C #1C906A
square
#301C90 #901C42 #7C901C #1C906A
split-complementary
#301C90 #906A1C #42901C
monochromatic
#0E082A #1F125D #301C90 #4126C3 #644ADC
Accessibility & contrast
On white
12.39
#301C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#301C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301C90
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301C90 | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #301c90; /* rgb */ color: rgb(48, 28, 144); /* oklch */ color: oklch(34.5% 0.176 279.8);
Tailwind
colors: {
custom: {
50: '#775cb2',
500: '#301c90',
950: '#000000',
},
}SCSS
$custom: #301c90; $custom-light: #775cb2; $custom-dark: #000000;
JSON
{
"hex": "#301c90",
"rgb": {
"r": 48,
"g": 28,
"b": 144
},
"hsl": {
"h": 250.345,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.34546,
"c": 0.17561,
"h": 279.8
},
"luminance": 0.03473
}Semantic roles & 50–950 ramp
primary
#301C90
secondary
#AABE4A
accent
#EA3DCD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980