#3F2B95#3F2B95
#3F2B95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.164 H 284.2°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2B95 |
|---|---|
| RGB | rgb(63, 43, 149) |
| HSL | hsl(251, 55%, 38%) |
| HSV | hsv(251, 71%, 58%) |
| CMYK | cmyk(57.7%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(26.60, 38.52, -55.14) |
| CIE-LCH | lch(26.60, 67.27, 304.94°) |
| OKLab | oklab(38.4% 0.0403 -0.1587) |
| OKLCH | oklch(38.4% 0.164 284.2) |
| XYZ | xyz(8.3369, 4.9539, 28.9448) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 5.75
Royal
#0C1793
ΔE00 6.20
Sapphire (survey)
#2138AB
ΔE00 6.22
Blueberry
#464196
ΔE00 6.24
Rebeccapurple
#663399
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2B95 #81952B
analogous
#2B4C95 #3F2B95 #742B95
triadic
#3F2B95 #953F2B #2B953F
tetradic
#3F2B95 #952B4C #81952B #2B9574
square
#3F2B95 #952B4C #81952B #2B9574
split-complementary
#3F2B95 #95742B #4C952B
monochromatic
#171036 #2B1D66 #3F2B95 #5339C4 #7C67D3
Accessibility & contrast
On white
10.55
#3F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3F2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2B95
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2B95 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#14475D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f2b95; /* rgb */ color: rgb(63, 43, 149); /* oklch */ color: oklch(38.4% 0.164 284.2);
Tailwind
colors: {
custom: {
50: '#7e66b5',
500: '#3f2b95',
950: '#000000',
},
}SCSS
$custom: #3f2b95; $custom-light: #7e66b5; $custom-dark: #000000;
JSON
{
"hex": "#3f2b95",
"rgb": {
"r": 63,
"g": 43,
"b": 149
},
"hsl": {
"h": 251.321,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.38398,
"c": 0.16372,
"h": 284.2
},
"luminance": 0.04954
}Semantic roles & 50–950 ramp
primary
#3F2B95
secondary
#A9BA62
accent
#DF49C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80