#3F2BA1#3F2BA1
#3F2BA1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.179 H 282.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2BA1 |
|---|---|
| RGB | rgb(63, 43, 161) |
| HSL | hsl(250, 58%, 40%) |
| HSV | hsv(250, 73%, 63%) |
| CMYK | cmyk(60.9%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(27.73, 42.28, -60.63) |
| CIE-LCH | lch(27.73, 73.92, 304.89°) |
| OKLab | oklab(39.54% 0.0379 -0.1747) |
| OKLCH | oklch(39.54% 0.179 282.2) |
| XYZ | xyz(9.3448, 5.3571, 34.2529) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 5.48
Royal
#0C1793
ΔE00 6.38
Blueberry
#464196
ΔE00 6.57
Ocean Blue
#4F42B5
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2BA1 #8DA12B
analogous
#2B52A1 #3F2BA1 #7A2BA1
triadic
#3F2BA1 #A13F2B #2BA13F
tetradic
#3F2BA1 #A12B52 #8DA12B #2BA17A
square
#3F2BA1 #A12B52 #8DA12B #2BA17A
split-complementary
#3F2BA1 #A17A2B #52A12B
monochromatic
#191140 #2C1E71 #3F2BA1 #563ECB #806ED8
Accessibility & contrast
On white
10.14
#3F2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3F2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2BA1
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2BA1 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3f2ba1; /* rgb */ color: rgb(63, 43, 161); /* oklch */ color: oklch(39.5% 0.179 282.2);
Tailwind
colors: {
custom: {
50: '#8067be',
500: '#3f2ba1',
950: '#000000',
},
}SCSS
$custom: #3f2ba1; $custom-light: #8067be; $custom-dark: #000000;
JSON
{
"hex": "#3f2ba1",
"rgb": {
"r": 63,
"g": 43,
"b": 161
},
"hsl": {
"h": 250.169,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.39543,
"c": 0.1788,
"h": 282.2
},
"luminance": 0.05358
}Semantic roles & 50–950 ramp
primary
#3F2BA1
secondary
#B1BF69
accent
#E147C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81