#3F2A79#3F2A79
#3F2A79 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.128 H 290.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2A79 |
|---|---|
| RGB | rgb(63, 42, 121) |
| HSL | hsl(256, 48%, 32%) |
| HSV | hsv(256, 65%, 47%) |
| CMYK | cmyk(47.9%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(23.98, 30.34, -41.93) |
| CIE-LCH | lch(23.98, 51.76, 305.89°) |
| OKLab | oklab(35.76% 0.0453 -0.1199) |
| OKLCH | oklch(35.76% 0.128 290.7) |
| XYZ | xyz(6.3281, 4.0929, 18.5420) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.72
Midnight Blue
#191970
ΔE00 6.54
Blueberry
#464196
ΔE00 7.60
Indigo (survey)
#380282
ΔE00 7.74
Indigo
#4B0082
ΔE00 7.76
Royal
#0C1793
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2A79 #64792A
analogous
#2A3D79 #3F2A79 #672A79
triadic
#3F2A79 #793F2A #2A793F
tetradic
#3F2A79 #792A3D #64792A #2A7967
square
#3F2A79 #792A3D #64792A #2A7967
split-complementary
#3F2A79 #79672A #3D792A
monochromatic
#100A1E #271A4C #3F2A79 #573AA6 #7558C5
Accessibility & contrast
On white
11.55
#3F2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3F2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2A79
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2A79 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#2D3C4D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f2a79; /* rgb */ color: rgb(63, 42, 121); /* oklch */ color: oklch(35.8% 0.128 290.7);
Tailwind
colors: {
custom: {
50: '#7965a0',
500: '#3f2a79',
950: '#000000',
},
}SCSS
$custom: #3f2a79; $custom-light: #7965a0; $custom-dark: #000000;
JSON
{
"hex": "#3f2a79",
"rgb": {
"r": 63,
"g": 42,
"b": 121
},
"hsl": {
"h": 255.949,
"s": 48.466,
"l": 31.961
},
"oklch": {
"l": 0.35757,
"c": 0.12816,
"h": 290.7
},
"luminance": 0.04093
}Semantic roles & 50–950 ramp
primary
#3F2A79
secondary
#94AB54
accent
#D850B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050F
muted
#7B7A7E