#3F2B97#3F2B97
#3F2B97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.166 H 283.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2B97 |
|---|---|
| RGB | rgb(63, 43, 151) |
| HSL | hsl(251, 56%, 38%) |
| HSV | hsv(251, 72%, 59%) |
| CMYK | cmyk(58.3%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(26.79, 39.15, -56.07) |
| CIE-LCH | lch(26.79, 68.39, 304.92°) |
| OKLab | oklab(38.59% 0.0399 -0.1614) |
| OKLCH | oklch(38.59% 0.166 283.9) |
| XYZ | xyz(8.4980, 5.0184, 29.7930) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 6.06
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.27
Rebeccapurple
#663399
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2B97 #83972B
analogous
#2B4D97 #3F2B97 #752B97
triadic
#3F2B97 #973F2B #2B973F
tetradic
#3F2B97 #972B4D #83972B #2B9775
square
#3F2B97 #972B4D #83972B #2B9775
split-complementary
#3F2B97 #97752B #4D972B
monochromatic
#171038 #2B1D67 #3F2B97 #5339C7 #7C68D4
Accessibility & contrast
On white
10.48
#3F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3F2B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2B97
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2B97 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#10485E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f2b97; /* rgb */ color: rgb(63, 43, 151); /* oklch */ color: oklch(38.6% 0.166 283.9);
Tailwind
colors: {
custom: {
50: '#7e66b7',
500: '#3f2b97',
950: '#000000',
},
}SCSS
$custom: #3f2b97; $custom-light: #7e66b7; $custom-dark: #000000;
JSON
{
"hex": "#3f2b97",
"rgb": {
"r": 63,
"g": 43,
"b": 151
},
"hsl": {
"h": 251.111,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.38586,
"c": 0.16627,
"h": 283.9
},
"luminance": 0.05019
}Semantic roles & 50–950 ramp
primary
#3F2B97
secondary
#AABB63
accent
#DF49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80