#39219C#39219C
#39219C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.184 H 281.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #39219C |
|---|---|
| RGB | rgb(57, 33, 156) |
| HSL | hsl(252, 65%, 37%) |
| HSV | hsv(252, 79%, 61%) |
| CMYK | cmyk(63.5%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(24.82, 45.26, -62.39) |
| CIE-LCH | lch(24.82, 77.08, 305.96°) |
| OKLab | oklab(37.21% 0.0371 -0.18) |
| OKLCH | oklch(37.21% 0.184 281.6) |
| XYZ | xyz(8.2301, 4.3573, 31.8534) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
Royal
#0C1793
ΔE00 4.47
Cobalt Blue
#030AA7
ΔE00 4.97
Ultramarine
#2000B1
ΔE00 5.03
Royal Blue (survey)
#0504AA
ΔE00 5.30
Indigo (survey)
#380282
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39219C #849C21
analogous
#21479C #39219C #76219C
triadic
#39219C #9C3921 #219C39
tetradic
#39219C #9C2147 #849C21 #219C76
square
#39219C #9C2147 #849C21 #219C76
split-complementary
#39219C #9C7621 #479C21
monochromatic
#140C37 #271669 #39219C #4B2CCF #745BDC
Accessibility & contrast
On white
11.22
#39219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#39219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39219C
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39219C | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #39219c; /* rgb */ color: rgb(57, 33, 156); /* oklch */ color: oklch(37.2% 0.184 281.6);
Tailwind
colors: {
custom: {
50: '#7d60ba',
500: '#39219c',
950: '#000000',
},
}SCSS
$custom: #39219c; $custom-light: #7d60ba; $custom-dark: #000000;
JSON
{
"hex": "#39219c",
"rgb": {
"r": 57,
"g": 33,
"b": 156
},
"hsl": {
"h": 251.707,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.37209,
"c": 0.18379,
"h": 281.6
},
"luminance": 0.04358
}Semantic roles & 50–950 ramp
primary
#39219C
secondary
#ACC158
accent
#E840C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981