#3F2BA3#3F2BA3
#3F2BA3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.181 H 281.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2BA3 |
|---|---|
| RGB | rgb(63, 43, 163) |
| HSL | hsl(250, 58%, 40%) |
| HSV | hsv(250, 74%, 64%) |
| CMYK | cmyk(61.3%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(27.92, 42.91, -61.52) |
| CIE-LCH | lch(27.92, 75.01, 304.89°) |
| OKLab | oklab(39.74% 0.0374 -0.1774) |
| OKLCH | oklch(39.74% 0.181 281.9) |
| XYZ | xyz(9.5226, 5.4282, 35.1892) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 5.41
Royal
#0C1793
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 6.52
Violet Blue
#510AC9
ΔE00 6.55
Blueberry
#464196
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2BA3 #8FA32B
analogous
#2B53A3 #3F2BA3 #7B2BA3
triadic
#3F2BA3 #A33F2B #2BA33F
tetradic
#3F2BA3 #A32B53 #8FA32B #2BA37B
square
#3F2BA3 #A32B53 #8FA32B #2BA37B
split-complementary
#3F2BA3 #A37B2B #53A32B
monochromatic
#1A1142 #2C1E73 #3F2BA3 #563FCC #816FD9
Accessibility & contrast
On white
10.07
#3F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3F2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2BA3
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2BA3 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3f2ba3; /* rgb */ color: rgb(63, 43, 163); /* oklch */ color: oklch(39.7% 0.181 281.9);
Tailwind
colors: {
custom: {
50: '#8067bf',
500: '#3f2ba3',
950: '#000000',
},
}SCSS
$custom: #3f2ba3; $custom-light: #8067bf; $custom-dark: #000000;
JSON
{
"hex": "#3f2ba3",
"rgb": {
"r": 63,
"g": 43,
"b": 163
},
"hsl": {
"h": 250,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.39738,
"c": 0.18128,
"h": 281.9
},
"luminance": 0.05429
}Semantic roles & 50–950 ramp
primary
#3F2BA3
secondary
#B2C06A
accent
#E146C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81