#3F2F94#3F2F94
#3F2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.158 H 283.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2F94 |
|---|---|
| RGB | rgb(63, 47, 148) |
| HSL | hsl(250, 52%, 38%) |
| HSV | hsv(250, 68%, 58%) |
| CMYK | cmyk(57.4%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(27.37, 35.85, -53.27) |
| CIE-LCH | lch(27.37, 64.21, 303.94°) |
| OKLab | oklab(38.92% 0.0369 -0.1532) |
| OKLCH | oklch(38.92% 0.158 283.5) |
| XYZ | xyz(8.4101, 5.2274, 28.5771) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.76
Blueberry
#464196
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.70
Indigo Blue
#3A18B1
ΔE00 6.13
Royal
#0C1793
ΔE00 6.92
Ocean Blue
#4F42B5
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2F94 #84942F
analogous
#2F5194 #3F2F94 #712F94
triadic
#3F2F94 #943F2F #2F943F
tetradic
#3F2F94 #942F51 #84942F #2F9471
square
#3F2F94 #942F51 #84942F #2F9471
split-complementary
#3F2F94 #94712F #51942F
monochromatic
#171137 #2B2066 #3F2F94 #533EC2 #7D6DD1
Accessibility & contrast
On white
10.27
#3F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3F2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2F94
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2F94 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#15495D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3f2f94; /* rgb */ color: rgb(63, 47, 148); /* oklch */ color: oklch(38.9% 0.158 283.5);
Tailwind
colors: {
custom: {
50: '#7d69b4',
500: '#3f2f94',
950: '#000000',
},
}SCSS
$custom: #3f2f94; $custom-light: #7d69b4; $custom-dark: #000000;
JSON
{
"hex": "#3f2f94",
"rgb": {
"r": 63,
"g": 47,
"b": 148
},
"hsl": {
"h": 249.505,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38923,
"c": 0.15757,
"h": 283.5
},
"luminance": 0.05228
}Semantic roles & 50–950 ramp
primary
#3F2F94
secondary
#ABB867
accent
#DB4DC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80