#3F2F97#3F2F97
#3F2F97 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.161 H 283.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2F97 |
|---|---|
| RGB | rgb(63, 47, 151) |
| HSL | hsl(249, 53%, 39%) |
| HSV | hsv(249, 69%, 59%) |
| CMYK | cmyk(58.3%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(27.64, 36.82, -54.68) |
| CIE-LCH | lch(27.64, 65.92, 303.95°) |
| OKLab | oklab(39.2% 0.0364 -0.1573) |
| OKLCH | oklch(39.2% 0.161 283) |
| XYZ | xyz(8.6506, 5.3236, 29.8439) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.00
Blueberry
#464196
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.68
Royal
#0C1793
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2F97 #87972F
analogous
#2F5397 #3F2F97 #732F97
triadic
#3F2F97 #973F2F #2F973F
tetradic
#3F2F97 #972F53 #87972F #2F9773
square
#3F2F97 #972F53 #87972F #2F9773
split-complementary
#3F2F97 #97732F #53972F
monochromatic
#18123A #2C2068 #3F2F97 #5440C3 #7E6ED2
Accessibility & contrast
On white
10.17
#3F2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3F2F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2F97
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2F97 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#0F4A5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3f2f97; /* rgb */ color: rgb(63, 47, 151); /* oklch */ color: oklch(39.2% 0.161 283.0);
Tailwind
colors: {
custom: {
50: '#7e69b7',
500: '#3f2f97',
950: '#000000',
},
}SCSS
$custom: #3f2f97; $custom-light: #7e69b7; $custom-dark: #000000;
JSON
{
"hex": "#3f2f97",
"rgb": {
"r": 63,
"g": 47,
"b": 151
},
"hsl": {
"h": 249.231,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.39195,
"c": 0.16149,
"h": 283
},
"luminance": 0.05324
}Semantic roles & 50–950 ramp
primary
#3F2F97
secondary
#ADB968
accent
#DC4CC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80