#39176F#39176F
#39176F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.140 H 294.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #39176F |
|---|---|
| RGB | rgb(57, 23, 111) |
| HSL | hsl(263, 66%, 26%) |
| HSV | hsv(263, 79%, 44%) |
| CMYK | cmyk(48.6%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(18.50, 36.91, -44.47) |
| CIE-LCH | lch(18.50, 57.80, 309.70°) |
| OKLab | oklab(31.4% 0.0579 -0.1275) |
| OKLCH | oklch(31.4% 0.14 294.4) |
| XYZ | xyz(4.8622, 2.6302, 15.2873) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.49
Royal Purple (survey)
#4B006E
ΔE00 4.81
Indigo
#4B0082
ΔE00 4.96
Midnight Blue
#191970
ΔE00 5.15
Dark Indigo
#1F0954
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39176F #4D6F17
analogous
#17216F #39176F #65176F
triadic
#39176F #6F3917 #176F39
tetradic
#39176F #6F1721 #4D6F17 #176F65
square
#39176F #6F1721 #4D6F17 #176F65
split-complementary
#39176F #6F6517 #216F17
monochromatic
#0D0519 #1F0C3C #39176F #5322A2 #6D2DD3
Accessibility & contrast
On white
13.76
#39176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#39176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39176F
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39176F | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#292F42
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #39176f; /* rgb */ color: rgb(57, 23, 111); /* oklch */ color: oklch(31.4% 0.140 294.4);
Tailwind
colors: {
custom: {
50: '#765899',
500: '#39176f',
950: '#000000',
},
}SCSS
$custom: #39176f; $custom-light: #765899; $custom-dark: #000000;
JSON
{
"hex": "#39176f",
"rgb": {
"r": 57,
"g": 23,
"b": 111
},
"hsl": {
"h": 263.182,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31404,
"c": 0.14002,
"h": 294.4
},
"luminance": 0.0263
}Semantic roles & 50–950 ramp
primary
#39176F
secondary
#7DA53D
accent
#E93FA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E