#3F2C8A#3F2C8A
#3F2C8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.148 H 286.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2C8A |
|---|---|
| RGB | rgb(63, 44, 138) |
| HSL | hsl(252, 52%, 36%) |
| HSV | hsv(252, 68%, 54%) |
| CMYK | cmyk(54.3%, 68.1%, 0%, 45.9%) |
| CIE-LAB | lab(25.84, 34.46, -49.59) |
| CIE-LCH | lch(25.84, 60.39, 304.80°) |
| OKLab | oklab(37.55% 0.0412 -0.1424) |
| OKLCH | oklch(37.55% 0.148 286.1) |
| XYZ | xyz(7.5367, 4.6927, 24.5485) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.96
Blueberry
#464196
ΔE00 6.07
Royal
#0C1793
ΔE00 6.81
Indigo Blue
#3A18B1
ΔE00 6.92
Midnight Blue
#191970
ΔE00 7.13
Sapphire (survey)
#2138AB
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2C8A #778A2C
analogous
#2C488A #3F2C8A #6E2C8A
triadic
#3F2C8A #8A3F2C #2C8A3F
tetradic
#3F2C8A #8A2C48 #778A2C #2C8A6E
square
#3F2C8A #8A2C48 #778A2C #2C8A6E
split-complementary
#3F2C8A #8A6E2C #488A2C
monochromatic
#150E2D #2A1D5C #3F2C8A #543BB8 #7963CD
Accessibility & contrast
On white
10.83
#3F2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3F2C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2C8A
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2C8A | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#214457
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3f2c8a; /* rgb */ color: rgb(63, 44, 138); /* oklch */ color: oklch(37.5% 0.148 286.1);
Tailwind
colors: {
custom: {
50: '#7c66ad',
500: '#3f2c8a',
950: '#000000',
},
}SCSS
$custom: #3f2c8a; $custom-light: #7c66ad; $custom-dark: #000000;
JSON
{
"hex": "#3f2c8a",
"rgb": {
"r": 63,
"g": 44,
"b": 138
},
"hsl": {
"h": 252.128,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.37549,
"c": 0.14822,
"h": 286.1
},
"luminance": 0.04693
}Semantic roles & 50–950 ramp
primary
#3F2C8A
secondary
#A2B45E
accent
#DB4DBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F