#3F2AA1#3F2AA1
#3F2AA1 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.180 H 282.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2AA1 |
|---|---|
| RGB | rgb(63, 42, 161) |
| HSL | hsl(251, 59%, 40%) |
| HSV | hsv(251, 74%, 63%) |
| CMYK | cmyk(60.9%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(27.53, 42.83, -60.95) |
| CIE-LCH | lch(27.53, 74.50, 305.10°) |
| OKLab | oklab(39.4% 0.0386 -0.1757) |
| OKLCH | oklch(39.4% 0.18 282.4) |
| XYZ | xyz(9.3089, 5.2853, 34.2409) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 5.66
Royal
#0C1793
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.60
Violet Blue
#510AC9
ΔE00 6.65
Cobalt Blue
#030AA7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2AA1 #8CA12A
analogous
#2A51A1 #3F2AA1 #7A2AA1
triadic
#3F2AA1 #A13F2A #2AA13F
tetradic
#3F2AA1 #A12A51 #8CA12A #2AA17A
square
#3F2AA1 #A12A51 #8CA12A #2AA17A
split-complementary
#3F2AA1 #A17A2A #51A12A
monochromatic
#191140 #2C1D70 #3F2AA1 #553CCC #806DD9
Accessibility & contrast
On white
10.21
#3F2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3F2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2AA1
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2AA1 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 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: #3f2aa1; /* rgb */ color: rgb(63, 42, 161); /* oklch */ color: oklch(39.4% 0.180 282.4);
Tailwind
colors: {
custom: {
50: '#8066be',
500: '#3f2aa1',
950: '#000000',
},
}SCSS
$custom: #3f2aa1; $custom-light: #8066be; $custom-dark: #000000;
JSON
{
"hex": "#3f2aa1",
"rgb": {
"r": 63,
"g": 42,
"b": 161
},
"hsl": {
"h": 250.588,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.39404,
"c": 0.17988,
"h": 282.4
},
"luminance": 0.05286
}Semantic roles & 50–950 ramp
primary
#3F2AA1
secondary
#B0C067
accent
#E246C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81