#39186F#39186F
#39186F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.139 H 294.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #39186F |
|---|---|
| RGB | rgb(57, 24, 111) |
| HSL | hsl(263, 64%, 26%) |
| HSV | hsv(263, 78%, 44%) |
| CMYK | cmyk(48.6%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(18.67, 36.41, -44.18) |
| CIE-LCH | lch(18.67, 57.25, 309.49°) |
| OKLab | oklab(31.53% 0.057 -0.1267) |
| OKLCH | oklch(31.53% 0.139 294.2) |
| XYZ | xyz(4.8824, 2.6707, 15.2941) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.65
Royal Purple (survey)
#4B006E
ΔE00 4.96
Midnight Blue
#191970
ΔE00 5.10
Indigo
#4B0082
ΔE00 5.10
Dark Indigo
#1F0954
ΔE00 5.93
Dark Royal Blue
#02066F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39186F #4E6F18
analogous
#18236F #39186F #65186F
triadic
#39186F #6F3918 #186F39
tetradic
#39186F #6F1823 #4E6F18 #186F65
square
#39186F #6F1823 #4E6F18 #186F65
split-complementary
#39186F #6F6518 #236F18
monochromatic
#0D0519 #1F0D3D #39186F #5323A1 #6D2FD2
Accessibility & contrast
On white
13.69
#39186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#39186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39186F
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39186F | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 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: #39186f; /* rgb */ color: rgb(57, 24, 111); /* oklch */ color: oklch(31.5% 0.139 294.2);
Tailwind
colors: {
custom: {
50: '#765999',
500: '#39186f',
950: '#000000',
},
}SCSS
$custom: #39186f; $custom-light: #765999; $custom-dark: #000000;
JSON
{
"hex": "#39186f",
"rgb": {
"r": 57,
"g": 24,
"b": 111
},
"hsl": {
"h": 262.759,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.31527,
"c": 0.13889,
"h": 294.2
},
"luminance": 0.02671
}Semantic roles & 50–950 ramp
primary
#39186F
secondary
#7EA53E
accent
#E740A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E