#3F2290#3F2290
#3F2290 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 287.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2290 |
|---|---|
| RGB | rgb(63, 34, 144) |
| HSL | hsl(256, 62%, 35%) |
| HSV | hsv(256, 76%, 56%) |
| CMYK | cmyk(56.3%, 76.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.37, 41.93, -55.73) |
| CIE-LCH | lch(24.37, 69.74, 306.96°) |
| OKLab | oklab(36.67% 0.0489 -0.1603) |
| OKLCH | oklch(36.67% 0.168 287) |
| XYZ | xyz(7.6545, 4.2140, 26.7902) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.88
Royal
#0C1793
ΔE00 5.27
Indigo (survey)
#380282
ΔE00 5.33
Indigo
#4B0082
ΔE00 5.76
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2290 #739022
analogous
#223C90 #3F2290 #762290
triadic
#3F2290 #903F22 #22903F
tetradic
#3F2290 #90223C #739022 #229076
square
#3F2290 #90223C #739022 #229076
split-complementary
#3F2290 #907622 #3C9022
monochromatic
#140B2D #29165E #3F2290 #552EC2 #7855D7
Accessibility & contrast
On white
11.40
#3F2290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3F2290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2290
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2290 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#1C4157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2290; /* rgb */ color: rgb(63, 34, 144); /* oklch */ color: oklch(36.7% 0.168 287.0);
Tailwind
colors: {
custom: {
50: '#7e61b2',
500: '#3f2290',
950: '#000000',
},
}SCSS
$custom: #3f2290; $custom-light: #7e61b2; $custom-dark: #000000;
JSON
{
"hex": "#3f2290",
"rgb": {
"r": 63,
"g": 34,
"b": 144
},
"hsl": {
"h": 255.818,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.36668,
"c": 0.16765,
"h": 287
},
"luminance": 0.04214
}Semantic roles & 50–950 ramp
primary
#3F2290
secondary
#9FBB53
accent
#E543BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980