#39197C#39197C
#39197C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.153 H 289.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #39197C |
|---|---|
| RGB | rgb(57, 25, 124) |
| HSL | hsl(259, 66%, 29%) |
| HSV | hsv(259, 80%, 49%) |
| CMYK | cmyk(54%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(20.12, 39.68, -50.16) |
| CIE-LCH | lch(20.12, 63.96, 308.35°) |
| OKLab | oklab(32.93% 0.0523 -0.1442) |
| OKLCH | oklch(32.93% 0.153 289.9) |
| XYZ | xyz(5.6720, 3.0201, 19.3489) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.42
Indigo
#4B0082
ΔE00 4.40
Midnight Blue
#191970
ΔE00 4.88
Royal
#0C1793
ΔE00 5.69
Royal Purple (survey)
#4B006E
ΔE00 5.80
Navy
#000080
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39197C #5C7C19
analogous
#192B7C #39197C #6B197C
triadic
#39197C #7C3919 #197C39
tetradic
#39197C #7C192B #5C7C19 #197C6B
square
#39197C #7C192B #5C7C19 #197C6B
split-complementary
#39197C #7C6B19 #2B7C19
monochromatic
#0C0519 #220F49 #39197C #5023AF #6C38D7
Accessibility & contrast
On white
13.09
#39197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#39197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39197C
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39197C | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#20354A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #39197c; /* rgb */ color: rgb(57, 25, 124); /* oklch */ color: oklch(32.9% 0.153 289.9);
Tailwind
colors: {
custom: {
50: '#785aa3',
500: '#39197c',
950: '#000000',
},
}SCSS
$custom: #39197c; $custom-light: #785aa3; $custom-dark: #000000;
JSON
{
"hex": "#39197c",
"rgb": {
"r": 57,
"g": 25,
"b": 124
},
"hsl": {
"h": 259.394,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.32934,
"c": 0.15338,
"h": 289.9
},
"luminance": 0.0302
}Semantic roles & 50–950 ramp
primary
#39197C
secondary
#8CB040
accent
#E93EB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F