#39226C#39226C
#39226C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.122 H 292.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #39226C |
|---|---|
| RGB | rgb(57, 34, 108) |
| HSL | hsl(259, 52%, 28%) |
| HSV | hsv(259, 69%, 42%) |
| CMYK | cmyk(47.2%, 68.5%, 0%, 57.6%) |
| CIE-LAB | lab(20.43, 29.90, -39.38) |
| CIE-LCH | lch(20.43, 49.45, 307.21°) |
| OKLab | oklab(32.69% 0.047 -0.1126) |
| OKLCH | oklch(32.69% 0.122 292.7) |
| XYZ | xyz(4.9654, 3.0965, 14.5205) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.48
Dark Indigo
#1F0954
ΔE00 6.91
Royal Purple (survey)
#4B006E
ΔE00 7.05
Indigo (survey)
#380282
ΔE00 7.13
Indigo
#4B0082
ΔE00 7.38
Darkslateblue
#483D8B
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39226C #556C22
analogous
#22306C #39226C #5E226C
triadic
#39226C #6C3922 #226C39
tetradic
#39226C #6C2230 #556C22 #226C5E
square
#39226C #6C2230 #556C22 #226C5E
split-complementary
#39226C #6C5E22 #306C22
monochromatic
#0C0717 #20133D #39226C #52319B #6C44C4
Accessibility & contrast
On white
12.97
#39226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#39226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39226C
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39226C | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#2A3443
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #39226c; /* rgb */ color: rgb(57, 34, 108); /* oklch */ color: oklch(32.7% 0.122 292.7);
Tailwind
colors: {
custom: {
50: '#745e97',
500: '#39226c',
950: '#000000',
},
}SCSS
$custom: #39226c; $custom-light: #745e97; $custom-dark: #000000;
JSON
{
"hex": "#39226c",
"rgb": {
"r": 57,
"g": 34,
"b": 108
},
"hsl": {
"h": 258.649,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.32694,
"c": 0.12201,
"h": 292.7
},
"luminance": 0.03097
}Semantic roles & 50–950 ramp
primary
#39226C
secondary
#85A04A
accent
#DC4CAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E