#39228E#39228E
#39228E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.166 H 284.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #39228E |
|---|---|
| RGB | rgb(57, 34, 142) |
| HSL | hsl(253, 61%, 35%) |
| HSV | hsv(253, 76%, 56%) |
| CMYK | cmyk(59.9%, 76.1%, 0%, 44.3%) |
| CIE-LAB | lab(23.56, 40.46, -55.83) |
| CIE-LCH | lch(23.56, 68.95, 305.93°) |
| OKLab | oklab(35.89% 0.0402 -0.1609) |
| OKLCH | oklch(35.89% 0.166 284) |
| XYZ | xyz(7.1404, 3.9665, 25.9753) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.31
Cobalt Blue
#030AA7
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.13
Indigo
#4B0082
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39228E #778E22
analogous
#22418E #39228E #6F228E
triadic
#39228E #8E3922 #228E39
tetradic
#39228E #8E2241 #778E22 #228E6F
square
#39228E #8E2241 #778E22 #228E6F
split-complementary
#39228E #8E6F22 #418E22
monochromatic
#110A2B #25165D #39228E #4D2EBF #7054D6
Accessibility & contrast
On white
11.71
#39228E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#39228E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39228E
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39228E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39228E | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#064056
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #39228e; /* rgb */ color: rgb(57, 34, 142); /* oklch */ color: oklch(35.9% 0.166 284.0);
Tailwind
colors: {
custom: {
50: '#7a60b0',
500: '#39228e',
950: '#000000',
},
}SCSS
$custom: #39228e; $custom-light: #7a60b0; $custom-dark: #000000;
JSON
{
"hex": "#39228e",
"rgb": {
"r": 57,
"g": 34,
"b": 142
},
"hsl": {
"h": 252.778,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.35893,
"c": 0.16582,
"h": 284
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#39228E
secondary
#A4BA52
accent
#E443C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980