#3F2295#3F2295
#3F2295 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.174 H 285.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2295 |
|---|---|
| RGB | rgb(63, 34, 149) |
| HSL | hsl(255, 63%, 36%) |
| HSV | hsv(255, 77%, 58%) |
| CMYK | cmyk(57.7%, 77.2%, 0%, 41.6%) |
| CIE-LAB | lab(24.86, 43.41, -58.01) |
| CIE-LCH | lch(24.86, 72.45, 306.81°) |
| OKLab | oklab(37.16% 0.0476 -0.167) |
| OKLCH | oklch(37.16% 0.174 285.9) |
| XYZ | xyz(8.0451, 4.3703, 28.8476) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Royal
#0C1793
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.06
Indigo
#4B0082
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2295 #789522
analogous
#223F95 #3F2295 #782295
triadic
#3F2295 #953F22 #22953F
tetradic
#3F2295 #95223F #789522 #229578
square
#3F2295 #95223F #789522 #229578
split-complementary
#3F2295 #957822 #3F9522
monochromatic
#150B31 #2A1763 #3F2295 #542DC7 #7958D9
Accessibility & contrast
On white
11.20
#3F2295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3F2295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2295
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2295 | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#15435A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2295; /* rgb */ color: rgb(63, 34, 149); /* oklch */ color: oklch(37.2% 0.174 285.9);
Tailwind
colors: {
custom: {
50: '#7e61b5',
500: '#3f2295',
950: '#000000',
},
}SCSS
$custom: #3f2295; $custom-light: #7e61b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2295",
"rgb": {
"r": 63,
"g": 34,
"b": 149
},
"hsl": {
"h": 255.13,
"s": 62.842,
"l": 35.882
},
"oklch": {
"l": 0.37163,
"c": 0.17367,
"h": 285.9
},
"luminance": 0.04371
}Semantic roles & 50–950 ramp
primary
#3F2295
secondary
#A3BD56
accent
#E642BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980