#46397E#46397E
#46397E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.112 H 288.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #46397E |
|---|---|
| RGB | rgb(70, 57, 126) |
| HSL | hsl(251, 38%, 36%) |
| HSV | hsv(251, 55%, 49%) |
| CMYK | cmyk(44.4%, 54.8%, 0%, 50.6%) |
| CIE-LAB | lab(28.73, 24.04, -37.38) |
| CIE-LCH | lch(28.73, 44.44, 302.75°) |
| OKLab | oklab(39.55% 0.0363 -0.1062) |
| OKLCH | oklch(39.55% 0.112 288.9) |
| XYZ | xyz(7.7538, 5.7344, 20.4329) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.49
Blueberry
#464196
ΔE00 4.75
Twilight
#4E518B
ΔE00 7.79
Rebeccapurple
#663399
ΔE00 8.01
Ocean Blue
#4F42B5
ΔE00 9.20
Sapphire (survey)
#2138AB
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46397E #717E39
analogous
#394E7E #46397E #68397E
triadic
#46397E #7E4639 #397E46
tetradic
#46397E #7E394E #717E39 #397E68
square
#46397E #7E394E #717E39 #397E68
split-complementary
#46397E #7E6839 #4E7E39
monochromatic
#17132A #2F2654 #46397E #5D4CA8 #8172BF
Accessibility & contrast
On white
9.78
#46397E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#46397E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46397E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46397E | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#364856
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #46397e; /* rgb */ color: rgb(70, 57, 126); /* oklch */ color: oklch(39.5% 0.112 288.9);
Tailwind
colors: {
custom: {
50: '#7d6fa4',
500: '#46397e',
950: '#000000',
},
}SCSS
$custom: #46397e; $custom-light: #7d6fa4; $custom-dark: #000000;
JSON
{
"hex": "#46397e",
"rgb": {
"r": 70,
"g": 57,
"b": 126
},
"hsl": {
"h": 251.304,
"s": 37.705,
"l": 35.882
},
"oklch": {
"l": 0.39545,
"c": 0.11226,
"h": 288.9
},
"luminance": 0.05735
}Semantic roles & 50–950 ramp
primary
#46397E
secondary
#9DA86A
accent
#CE5AB8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F