#3F2D90#3F2D90
#3F2D90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.155 H 284.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2D90 |
|---|---|
| RGB | rgb(63, 45, 144) |
| HSL | hsl(251, 52%, 37%) |
| HSV | hsv(251, 69%, 56%) |
| CMYK | cmyk(56.3%, 68.7%, 0%, 43.5%) |
| CIE-LAB | lab(26.58, 35.77, -52.10) |
| CIE-LCH | lch(26.58, 63.19, 304.47°) |
| OKLab | oklab(38.25% 0.0393 -0.1498) |
| OKLCH | oklch(38.25% 0.155 284.7) |
| XYZ | xyz(8.0208, 4.9467, 26.9123) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.97
Blueberry
#464196
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 6.25
Sapphire (survey)
#2138AB
ΔE00 6.38
Royal
#0C1793
ΔE00 6.67
Rebeccapurple
#663399
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2D90 #7E902D
analogous
#2D4D90 #3F2D90 #712D90
triadic
#3F2D90 #903F2D #2D903F
tetradic
#3F2D90 #902D4D #7E902D #2D9071
square
#3F2D90 #902D4D #7E902D #2D9071
split-complementary
#3F2D90 #90712D #4D902D
monochromatic
#161033 #2B1E61 #3F2D90 #533CBF #7B68D0
Accessibility & contrast
On white
10.56
#3F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3F2D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2D90
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2D90 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#1A465A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f2d90; /* rgb */ color: rgb(63, 45, 144); /* oklch */ color: oklch(38.2% 0.155 284.7);
Tailwind
colors: {
custom: {
50: '#7d67b1',
500: '#3f2d90',
950: '#000000',
},
}SCSS
$custom: #3f2d90; $custom-light: #7d67b1; $custom-dark: #000000;
JSON
{
"hex": "#3f2d90",
"rgb": {
"r": 63,
"g": 45,
"b": 144
},
"hsl": {
"h": 250.909,
"s": 52.381,
"l": 37.059
},
"oklch": {
"l": 0.38245,
"c": 0.15483,
"h": 284.7
},
"luminance": 0.04947
}Semantic roles & 50–950 ramp
primary
#3F2D90
secondary
#A7B662
accent
#DC4CC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80