#39277B#39277B
#39277B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.8% C 0.135 H 287.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #39277B |
|---|---|
| RGB | rgb(57, 39, 123) |
| HSL | hsl(253, 52%, 32%) |
| HSV | hsv(253, 68%, 48%) |
| CMYK | cmyk(53.7%, 68.3%, 0%, 51.8%) |
| CIE-LAB | lab(22.83, 31.57, -45.10) |
| CIE-LCH | lch(22.83, 55.05, 305.00°) |
| OKLab | oklab(34.83% 0.0395 -0.1294) |
| OKLCH | oklch(34.83% 0.135 287) |
| XYZ | xyz(5.9870, 3.7507, 19.1435) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.26
Darkslateblue
#483D8B
ΔE00 6.38
Indigo (survey)
#380282
ΔE00 6.86
Royal
#0C1793
ΔE00 6.89
Indigo
#4B0082
ΔE00 7.42
Blueberry
#464196
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39277B #697B27
analogous
#273F7B #39277B #63277B
triadic
#39277B #7B3927 #277B39
tetradic
#39277B #7B273F #697B27 #277B63
square
#39277B #7B273F #697B27 #277B63
split-complementary
#39277B #7B6327 #3F7B27
monochromatic
#0E0A1E #23184D #39277B #4F36A9 #6D54C9
Accessibility & contrast
On white
12.00
#39277B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#39277B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39277B
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39277B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39277B | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#203C4D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #39277b; /* rgb */ color: rgb(57, 39, 123); /* oklch */ color: oklch(34.8% 0.135 287.0);
Tailwind
colors: {
custom: {
50: '#7662a2',
500: '#39277b',
950: '#000000',
},
}SCSS
$custom: #39277b; $custom-light: #7662a2; $custom-dark: #000000;
JSON
{
"hex": "#39277b",
"rgb": {
"r": 57,
"g": 39,
"b": 123
},
"hsl": {
"h": 252.857,
"s": 51.852,
"l": 31.765
},
"oklch": {
"l": 0.34828,
"c": 0.1353,
"h": 287
},
"luminance": 0.03751
}Semantic roles & 50–950 ramp
primary
#39277B
secondary
#99AD51
accent
#DB4CBD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F