#301375#301375
#301375 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.151 H 287.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #301375 |
|---|---|
| RGB | rgb(48, 19, 117) |
| HSL | hsl(258, 72%, 27%) |
| HSV | hsv(258, 84%, 46%) |
| CMYK | cmyk(59%, 83.8%, 0%, 54.1%) |
| CIE-LAB | lab(17.36, 39.24, -50.26) |
| CIE-LCH | lch(17.36, 63.76, 307.98°) |
| OKLab | oklab(30.55% 0.0442 -0.1447) |
| OKLCH | oklch(30.55% 0.151 287) |
| XYZ | xyz(4.6617, 2.3782, 17.0396) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 4.83
Deep Blue
#040273
ΔE00 4.90
Indigo
#4B0082
ΔE00 5.10
Navy
#000080
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#301375 #587513
analogous
#132775 #301375 #611375
triadic
#301375 #753013 #137530
tetradic
#301375 #751327 #587513 #137561
square
#301375 #751327 #587513 #137561
split-complementary
#301375 #756113 #277513
monochromatic
#0B041A #1A0A40 #301375 #461CAA #5C27DC
Accessibility & contrast
On white
14.23
#301375 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#301375 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #301375
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##301375 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##301375 | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#0F3045
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #301375; /* rgb */ color: rgb(48, 19, 117); /* oklch */ color: oklch(30.5% 0.151 287.0);
Tailwind
colors: {
custom: {
50: '#72559e',
500: '#301375',
950: '#000000',
},
}SCSS
$custom: #301375; $custom-light: #72559e; $custom-dark: #000000;
JSON
{
"hex": "#301375",
"rgb": {
"r": 48,
"g": 19,
"b": 117
},
"hsl": {
"h": 257.755,
"s": 72.059,
"l": 26.667
},
"oklch": {
"l": 0.30546,
"c": 0.15132,
"h": 287
},
"luminance": 0.02378
}Semantic roles & 50–950 ramp
primary
#301375
secondary
#89AB38
accent
#EF39B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E