#3F2A92#3F2A92
#3F2A92 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.161 H 285.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2A92 |
|---|---|
| RGB | rgb(63, 42, 146) |
| HSL | hsl(252, 55%, 37%) |
| HSV | hsv(252, 71%, 57%) |
| CMYK | cmyk(56.8%, 71.2%, 0%, 42.7%) |
| CIE-LAB | lab(26.12, 38.16, -54.09) |
| CIE-LCH | lch(26.12, 66.19, 305.20°) |
| OKLab | oklab(37.97% 0.0417 -0.1556) |
| OKLCH | oklch(37.97% 0.161 285) |
| XYZ | xyz(8.0646, 4.7875, 27.6877) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.81
Royal
#0C1793
ΔE00 6.11
Blueberry
#464196
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 6.64
Indigo (survey)
#380282
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2A92 #7D922A
analogous
#2A4992 #3F2A92 #732A92
triadic
#3F2A92 #923F2A #2A923F
tetradic
#3F2A92 #922A49 #7D922A #2A9273
square
#3F2A92 #922A49 #7D922A #2A9273
split-complementary
#3F2A92 #92732A #49922A
monochromatic
#160F33 #2A1C62 #3F2A92 #5438C2 #7A64D2
Accessibility & contrast
On white
10.73
#3F2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F2A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2A92
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2A92 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#18455B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2a92; /* rgb */ color: rgb(63, 42, 146); /* oklch */ color: oklch(38.0% 0.161 285.0);
Tailwind
colors: {
custom: {
50: '#7d65b3',
500: '#3f2a92',
950: '#000000',
},
}SCSS
$custom: #3f2a92; $custom-light: #7d65b3; $custom-dark: #000000;
JSON
{
"hex": "#3f2a92",
"rgb": {
"r": 63,
"g": 42,
"b": 146
},
"hsl": {
"h": 252.115,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.37969,
"c": 0.16109,
"h": 285
},
"luminance": 0.04788
}Semantic roles & 50–950 ramp
primary
#3F2A92
secondary
#A6B85F
accent
#DF49C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80