#39157C#39157C
#39157C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 290.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #39157C |
|---|---|
| RGB | rgb(57, 21, 124) |
| HSL | hsl(261, 71%, 28%) |
| HSV | hsv(261, 83%, 49%) |
| CMYK | cmyk(54%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(19.48, 41.55, -51.22) |
| CIE-LCH | lch(19.48, 65.95, 309.05°) |
| OKLab | oklab(32.49% 0.0553 -0.1472) |
| OKLCH | oklch(32.49% 0.157 290.6) |
| XYZ | xyz(5.5926, 2.8612, 19.3225) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.69
Indigo
#4B0082
ΔE00 3.85
Midnight Blue
#191970
ΔE00 5.12
Royal Purple (survey)
#4B006E
ΔE00 5.36
Royal
#0C1793
ΔE00 5.71
Navy
#000080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39157C #587C15
analogous
#15247C #39157C #6C157C
triadic
#39157C #7C3915 #157C39
tetradic
#39157C #7C1524 #587C15 #157C6C
square
#39157C #7C1524 #587C15 #157C6C
split-complementary
#39157C #7C6C15 #247C15
monochromatic
#0C041A #210C48 #39157C #511EB0 #6C30DC
Accessibility & contrast
On white
13.36
#39157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#39157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39157C
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39157C | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#203349
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #39157c; /* rgb */ color: rgb(57, 21, 124); /* oklch */ color: oklch(32.5% 0.157 290.6);
Tailwind
colors: {
custom: {
50: '#7858a3',
500: '#39157c',
950: '#000000',
},
}SCSS
$custom: #39157c; $custom-light: #7858a3; $custom-dark: #000000;
JSON
{
"hex": "#39157c",
"rgb": {
"r": 57,
"g": 21,
"b": 124
},
"hsl": {
"h": 260.971,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.32485,
"c": 0.15729,
"h": 290.6
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#39157C
secondary
#88B13C
accent
#EE3AAF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F