#3F319F#3F319F
#3F319F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.169 H 281.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3F319F |
|---|---|
| RGB | rgb(63, 49, 159) |
| HSL | hsl(248, 53%, 41%) |
| HSV | hsv(248, 69%, 62%) |
| CMYK | cmyk(60.4%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.79, 38.21, -57.68) |
| CIE-LCH | lch(28.79, 69.18, 303.52°) |
| OKLab | oklab(40.24% 0.0334 -0.1661) |
| OKLCH | oklch(40.24% 0.169 281.4) |
| XYZ | xyz(9.4043, 5.7559, 33.4096) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 5.36
Indigo Blue
#3A18B1
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F319F #919F31
analogous
#315A9F #3F319F #76319F
triadic
#3F319F #9F3F31 #319F3F
tetradic
#3F319F #9F315A #919F31 #319F76
square
#3F319F #9F315A #919F31 #319F76
split-complementary
#3F319F #9F7631 #5A9F31
monochromatic
#1A1441 #2C2370 #3F319F #5747C6 #8276D5
Accessibility & contrast
On white
9.76
#3F319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#3F319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F319F
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F319F | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3f319f; /* rgb */ color: rgb(63, 49, 159); /* oklch */ color: oklch(40.2% 0.169 281.4);
Tailwind
colors: {
custom: {
50: '#7f6abc',
500: '#3f319f',
950: '#000000',
},
}SCSS
$custom: #3f319f; $custom-light: #7f6abc; $custom-dark: #000000;
JSON
{
"hex": "#3f319f",
"rgb": {
"r": 63,
"g": 49,
"b": 159
},
"hsl": {
"h": 247.636,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.40243,
"c": 0.16945,
"h": 281.4
},
"luminance": 0.05757
}Semantic roles & 50–950 ramp
primary
#3F319F
secondary
#B3BD6F
accent
#DC4CCA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81