#3F2291#3F2291
#3F2291 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.169 H 286.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2291 |
|---|---|
| RGB | rgb(63, 34, 145) |
| HSL | hsl(256, 62%, 35%) |
| HSV | hsv(256, 77%, 57%) |
| CMYK | cmyk(56.6%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.46, 42.22, -56.19) |
| CIE-LCH | lch(24.46, 70.28, 306.93°) |
| OKLab | oklab(36.77% 0.0487 -0.1617) |
| OKLCH | oklch(36.77% 0.169 286.8) |
| XYZ | xyz(7.7312, 4.2447, 27.1945) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 5.24
Indigo (survey)
#380282
ΔE00 5.39
Indigo
#4B0082
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2291 #749122
analogous
#223C91 #3F2291 #772291
triadic
#3F2291 #913F22 #22913F
tetradic
#3F2291 #91223C #749122 #229177
square
#3F2291 #91223C #749122 #229177
split-complementary
#3F2291 #917722 #3C9122
monochromatic
#140B2E #29165F #3F2291 #552EC3 #7856D7
Accessibility & contrast
On white
11.36
#3F2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3F2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2291
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2291 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#1A4158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2291; /* rgb */ color: rgb(63, 34, 145); /* oklch */ color: oklch(36.8% 0.169 286.8);
Tailwind
colors: {
custom: {
50: '#7e61b2',
500: '#3f2291',
950: '#000000',
},
}SCSS
$custom: #3f2291; $custom-light: #7e61b2; $custom-dark: #000000;
JSON
{
"hex": "#3f2291",
"rgb": {
"r": 63,
"g": 34,
"b": 145
},
"hsl": {
"h": 255.676,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.36766,
"c": 0.16886,
"h": 286.8
},
"luminance": 0.04245
}Semantic roles & 50–950 ramp
primary
#3F2291
secondary
#A0BB53
accent
#E543BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980