#413F97#413F97
#413F97 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.140 H 279.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #413F97 |
|---|---|
| RGB | rgb(65, 63, 151) |
| HSL | hsl(241, 41%, 42%) |
| HSV | hsv(241, 58%, 59%) |
| CMYK | cmyk(57%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(31.61, 27.18, -48.21) |
| CIE-LCH | lch(31.61, 55.34, 299.41°) |
| OKLab | oklab(42.14% 0.0232 -0.1382) |
| OKLCH | oklch(42.14% 0.14 279.5) |
| XYZ | xyz(9.5416, 6.9126, 30.1036) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.03
Darkslateblue
#483D8B
ΔE00 2.80
Sapphire (survey)
#2138AB
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.08
Twilight
#4E518B
ΔE00 7.01
Blue Blue
#2242C7
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413F97 #95973F
analogous
#3F6997 #413F97 #6D3F97
triadic
#413F97 #97413F #3F9741
tetradic
#413F97 #973F69 #95973F #3F976D
square
#413F97 #973F69 #95973F #3F976D
split-complementary
#413F97 #976D3F #69973F
monochromatic
#1C1B41 #2E2D6C #413F97 #5C59BA #8685CC
Accessibility & contrast
On white
8.81
#413F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#413F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413F97
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413F97 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#145464
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #413f97; /* rgb */ color: rgb(65, 63, 151); /* oklch */ color: oklch(42.1% 0.140 279.5);
Tailwind
colors: {
custom: {
50: '#7e74b6',
500: '#413f97',
950: '#000000',
},
}SCSS
$custom: #413f97; $custom-light: #7e74b6; $custom-dark: #000000;
JSON
{
"hex": "#413f97",
"rgb": {
"r": 65,
"g": 63,
"b": 151
},
"hsl": {
"h": 241.364,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.42139,
"c": 0.14014,
"h": 279.5
},
"luminance": 0.06913
}Semantic roles & 50–950 ramp
primary
#413F97
secondary
#B5B67C
accent
#D157CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80