#39297C#39297C
#39297C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.134 H 286.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #39297C |
|---|---|
| RGB | rgb(57, 41, 124) |
| HSL | hsl(252, 50%, 32%) |
| HSV | hsv(252, 67%, 49%) |
| CMYK | cmyk(54%, 66.9%, 0%, 51.4%) |
| CIE-LAB | lab(23.37, 30.66, -44.84) |
| CIE-LCH | lch(23.37, 54.32, 304.36°) |
| OKLab | oklab(35.25% 0.0373 -0.1287) |
| OKLCH | oklch(35.25% 0.134 286.2) |
| XYZ | xyz(6.1173, 3.9107, 19.4974) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.88
Royal
#0C1793
ΔE00 7.08
Indigo (survey)
#380282
ΔE00 7.37
Blueberry
#464196
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39297C #6C7C29
analogous
#29437C #39297C #62297C
triadic
#39297C #7C3929 #297C39
tetradic
#39297C #7C2943 #6C7C29 #297C62
square
#39297C #7C2943 #6C7C29 #297C62
split-complementary
#39297C #7C6229 #437C29
monochromatic
#0F0B20 #241A4E #39297C #4E38AA #6D58C8
Accessibility & contrast
On white
11.78
#39297C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#39297C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39297C
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39297C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39297C | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#1F3D4E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #39297c; /* rgb */ color: rgb(57, 41, 124); /* oklch */ color: oklch(35.2% 0.134 286.2);
Tailwind
colors: {
custom: {
50: '#7664a3',
500: '#39297c',
950: '#000000',
},
}SCSS
$custom: #39297c; $custom-light: #7664a3; $custom-dark: #000000;
JSON
{
"hex": "#39297c",
"rgb": {
"r": 57,
"g": 41,
"b": 124
},
"hsl": {
"h": 251.566,
"s": 50.303,
"l": 32.353
},
"oklch": {
"l": 0.35249,
"c": 0.13395,
"h": 286.2
},
"luminance": 0.03911
}Semantic roles & 50–950 ramp
primary
#39297C
secondary
#9CAD54
accent
#DA4EBF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F