#39228F#39228F
#39228F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.167 H 283.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #39228F |
|---|---|
| RGB | rgb(57, 34, 143) |
| HSL | hsl(253, 62%, 35%) |
| HSV | hsv(253, 76%, 56%) |
| CMYK | cmyk(60.1%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(23.66, 40.77, -56.29) |
| CIE-LCH | lch(23.66, 69.50, 305.91°) |
| OKLab | oklab(35.99% 0.04 -0.1622) |
| OKLCH | oklch(35.99% 0.167 283.8) |
| XYZ | xyz(7.2158, 3.9966, 26.3725) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.24
Indigo
#4B0082
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39228F #788F22
analogous
#22418F #39228F #70228F
triadic
#39228F #8F3922 #228F39
tetradic
#39228F #8F2241 #788F22 #228F70
square
#39228F #8F2241 #788F22 #228F70
split-complementary
#39228F #8F7022 #418F22
monochromatic
#120A2C #25165E #39228F #4D2EC0 #7055D7
Accessibility & contrast
On white
11.67
#39228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#39228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39228F
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39228F | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#034157
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #39228f; /* rgb */ color: rgb(57, 34, 143); /* oklch */ color: oklch(36.0% 0.167 283.8);
Tailwind
colors: {
custom: {
50: '#7a60b1',
500: '#39228f',
950: '#000000',
},
}SCSS
$custom: #39228f; $custom-light: #7a60b1; $custom-dark: #000000;
JSON
{
"hex": "#39228f",
"rgb": {
"r": 57,
"g": 34,
"b": 143
},
"hsl": {
"h": 252.661,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.35994,
"c": 0.16704,
"h": 283.8
},
"luminance": 0.03997
}Semantic roles & 50–950 ramp
primary
#39228F
secondary
#A4BA52
accent
#E543C3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980