#39167F#39167F
#39167F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.160 H 289.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #39167F |
|---|---|
| RGB | rgb(57, 22, 127) |
| HSL | hsl(260, 70%, 29%) |
| HSV | hsv(260, 83%, 50%) |
| CMYK | cmyk(55.1%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(19.95, 41.95, -52.36) |
| CIE-LCH | lch(19.95, 67.09, 308.70°) |
| OKLab | oklab(32.9% 0.0536 -0.1506) |
| OKLCH | oklch(32.9% 0.16 289.6) |
| XYZ | xyz(5.8039, 2.9757, 20.3431) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.70
Indigo
#4B0082
ΔE00 3.93
Midnight Blue
#191970
ΔE00 5.17
Royal
#0C1793
ΔE00 5.34
Royal Purple (survey)
#4B006E
ΔE00 5.73
Darkblue
#00008B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39167F #5C7F16
analogous
#16287F #39167F #6E167F
triadic
#39167F #7F3916 #167F39
tetradic
#39167F #7F1628 #5C7F16 #167F6E
square
#39167F #7F1628 #5C7F16 #167F6E
split-complementary
#39167F #7F6E16 #287F16
monochromatic
#0C051A #220D4B #39167F #501FB3 #6C34DC
Accessibility & contrast
On white
13.16
#39167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#39167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39167F
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39167F | 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)
#003282
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#1E354B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #39167f; /* rgb */ color: rgb(57, 22, 127); /* oklch */ color: oklch(32.9% 0.160 289.6);
Tailwind
colors: {
custom: {
50: '#7859a5',
500: '#39167f',
950: '#000000',
},
}SCSS
$custom: #39167f; $custom-light: #7859a5; $custom-dark: #000000;
JSON
{
"hex": "#39167f",
"rgb": {
"r": 57,
"g": 22,
"b": 127
},
"hsl": {
"h": 260,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.32903,
"c": 0.15983,
"h": 289.6
},
"luminance": 0.02976
}Semantic roles & 50–950 ramp
primary
#39167F
secondary
#8CB43D
accent
#ED3BB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F