#391F9F#391F9F
#391F9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.189 H 281.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #391F9F |
|---|---|
| RGB | rgb(57, 31, 159) |
| HSL | hsl(252, 67%, 37%) |
| HSV | hsv(252, 81%, 62%) |
| CMYK | cmyk(64.2%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(24.80, 47.13, -64.25) |
| CIE-LCH | lch(24.80, 79.68, 306.26°) |
| OKLab | oklab(37.29% 0.0374 -0.1854) |
| OKLCH | oklch(37.29% 0.189 281.4) |
| XYZ | xyz(8.4334, 4.3524, 33.1899) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.58
Royal
#0C1793
ΔE00 4.48
Ultramarine
#2000B1
ΔE00 4.53
Cobalt Blue
#030AA7
ΔE00 4.62
Royal Blue (survey)
#0504AA
ΔE00 4.91
True Blue
#010FCC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391F9F #859F1F
analogous
#1F459F #391F9F #791F9F
triadic
#391F9F #9F391F #1F9F39
tetradic
#391F9F #9F1F45 #859F1F #1F9F79
square
#391F9F #9F1F45 #859F1F #1F9F79
split-complementary
#391F9F #9F791F #459F1F
monochromatic
#140B39 #27156C #391F9F #4B29D2 #755ADF
Accessibility & contrast
On white
11.23
#391F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#391F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391F9F
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391F9F | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #391f9f; /* rgb */ color: rgb(57, 31, 159); /* oklch */ color: oklch(37.3% 0.189 281.4);
Tailwind
colors: {
custom: {
50: '#7e5fbd',
500: '#391f9f',
950: '#000000',
},
}SCSS
$custom: #391f9f; $custom-light: #7e5fbd; $custom-dark: #000000;
JSON
{
"hex": "#391f9f",
"rgb": {
"r": 57,
"g": 31,
"b": 159
},
"hsl": {
"h": 252.188,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.37294,
"c": 0.18912,
"h": 281.4
},
"luminance": 0.04353
}Semantic roles & 50–950 ramp
primary
#391F9F
secondary
#ADC357
accent
#EA3EC7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981