#4B397E#4B397E
#4B397E is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.112 H 292.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4B397E |
|---|---|
| RGB | rgb(75, 57, 126) |
| HSL | hsl(256, 38%, 36%) |
| HSV | hsv(256, 55%, 49%) |
| CMYK | cmyk(40.5%, 54.8%, 0%, 50.6%) |
| CIE-LAB | lab(29.23, 25.34, -36.55) |
| CIE-LCH | lch(29.23, 44.48, 304.73°) |
| OKLab | oklab(40.04% 0.0432 -0.1036) |
| OKLCH | oklch(40.04% 0.112 292.6) |
| XYZ | xyz(8.1297, 5.9283, 20.4506) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.99
Blueberry
#464196
ΔE00 5.30
Rebeccapurple
#663399
ΔE00 7.21
Twilight
#4E518B
ΔE00 8.10
Ocean Blue
#4F42B5
ΔE00 9.38
Dusk
#4E5481
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B397E #6C7E39
analogous
#39497E #4B397E #6D397E
triadic
#4B397E #7E4B39 #397E4B
tetradic
#4B397E #7E3949 #6C7E39 #397E6D
square
#4B397E #7E3949 #6C7E39 #397E6D
split-complementary
#4B397E #7E6D39 #497E39
monochromatic
#19132A #322654 #4B397E #644CA8 #8672BF
Accessibility & contrast
On white
9.61
#4B397E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4B397E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B397E
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B397E | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#3E4756
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4b397e; /* rgb */ color: rgb(75, 57, 126); /* oklch */ color: oklch(40.0% 0.112 292.6);
Tailwind
colors: {
custom: {
50: '#8070a4',
500: '#4b397e',
950: '#000000',
},
}SCSS
$custom: #4b397e; $custom-light: #8070a4; $custom-dark: #000000;
JSON
{
"hex": "#4b397e",
"rgb": {
"r": 75,
"g": 57,
"b": 126
},
"hsl": {
"h": 255.652,
"s": 37.705,
"l": 35.882
},
"oklch": {
"l": 0.40036,
"c": 0.11229,
"h": 292.6
},
"luminance": 0.05928
}Semantic roles & 50–950 ramp
primary
#4B397E
secondary
#98A86A
accent
#CE5AB0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A070F
muted
#7C7A7F