#3F2288#3F2288
#3F2288 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.158 H 288.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2288 |
|---|---|
| RGB | rgb(63, 34, 136) |
| HSL | hsl(257, 60%, 33%) |
| HSV | hsv(257, 75%, 53%) |
| CMYK | cmyk(53.7%, 75%, 0%, 46.7%) |
| CIE-LAB | lab(23.60, 39.54, -52.01) |
| CIE-LCH | lch(23.60, 65.33, 307.25°) |
| OKLab | oklab(35.89% 0.051 -0.1494) |
| OKLCH | oklch(35.89% 0.158 288.8) |
| XYZ | xyz(7.0646, 3.9781, 23.6834) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.10
Indigo
#4B0082
ΔE00 5.43
Royal
#0C1793
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 6.11
Midnight Blue
#191970
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2288 #6B8822
analogous
#223888 #3F2288 #722288
triadic
#3F2288 #883F22 #22883F
tetradic
#3F2288 #882238 #6B8822 #228872
square
#3F2288 #882238 #6B8822 #228872
split-complementary
#3F2288 #887222 #388822
monochromatic
#120A26 #281657 #3F2288 #562EB9 #7651D3
Accessibility & contrast
On white
11.70
#3F2288 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F2288 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2288
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2288 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2288 | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#233D53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f2288; /* rgb */ color: rgb(63, 34, 136); /* oklch */ color: oklch(35.9% 0.158 288.8);
Tailwind
colors: {
custom: {
50: '#7c60ac',
500: '#3f2288',
950: '#000000',
},
}SCSS
$custom: #3f2288; $custom-light: #7c60ac; $custom-dark: #000000;
JSON
{
"hex": "#3f2288",
"rgb": {
"r": 63,
"g": 34,
"b": 136
},
"hsl": {
"h": 257.059,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.35892,
"c": 0.15791,
"h": 288.8
},
"luminance": 0.03978
}Semantic roles & 50–950 ramp
primary
#3F2288
secondary
#99B74F
accent
#E345B6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F