#390F76#390F76
#390F76 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.156 H 293.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #390F76 |
|---|---|
| RGB | rgb(57, 15, 118) |
| HSL | hsl(264, 77%, 26%) |
| HSV | hsv(264, 87%, 46%) |
| CMYK | cmyk(51.7%, 87.3%, 0%, 53.7%) |
| CIE-LAB | lab(18.01, 42.35, -49.80) |
| CIE-LCH | lch(18.01, 65.37, 310.37°) |
| OKLab | oklab(31.28% 0.0616 -0.143) |
| OKLCH | oklch(31.28% 0.156 293.3) |
| XYZ | xyz(5.1273, 2.5193, 17.3522) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.51
Indigo
#4B0082
ΔE00 3.55
Royal Purple (survey)
#4B006E
ΔE00 4.39
Midnight Blue
#191970
ΔE00 5.50
Deep Blue
#040273
ΔE00 5.86
Dark Royal Blue
#02066F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#390F76 #4C760F
analogous
#0F1876 #390F76 #6C0F76
triadic
#390F76 #76390F #0F7639
tetradic
#390F76 #760F18 #4C760F #0F766C
square
#390F76 #760F18 #4C760F #0F766C
split-complementary
#390F76 #766C0F #18760F
monochromatic
#0D031B #1F0840 #390F76 #5316AC #6E1DE2
Accessibility & contrast
On white
13.96
#390F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#390F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #390F76
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##390F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##390F76 | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#252F44
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #390f76; /* rgb */ color: rgb(57, 15, 118); /* oklch */ color: oklch(31.3% 0.156 293.3);
Tailwind
colors: {
custom: {
50: '#77559f',
500: '#390f76',
950: '#000000',
},
}SCSS
$custom: #390f76; $custom-light: #77559f; $custom-dark: #000000;
JSON
{
"hex": "#390f76",
"rgb": {
"r": 57,
"g": 15,
"b": 118
},
"hsl": {
"h": 264.466,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.31278,
"c": 0.15574,
"h": 293.3
},
"luminance": 0.0252
}Semantic roles & 50–950 ramp
primary
#390F76
secondary
#7CAD33
accent
#F434A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E