#4B337E#4B337E
#4B337E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.0% C 0.122 H 294.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4B337E |
|---|---|
| RGB | rgb(75, 51, 126) |
| HSL | hsl(259, 42%, 35%) |
| HSV | hsv(259, 60%, 49%) |
| CMYK | cmyk(40.5%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(27.76, 29.11, -38.91) |
| CIE-LCH | lch(27.76, 48.60, 306.81°) |
| OKLab | oklab(38.95% 0.0512 -0.1106) |
| OKLCH | oklch(38.95% 0.122 294.9) |
| XYZ | xyz(7.8504, 5.3697, 20.3575) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.95
Blueberry
#464196
ΔE00 6.16
Rebeccapurple
#663399
ΔE00 6.43
Indigo
#4B0082
ΔE00 9.33
Midnight Blue
#191970
ΔE00 9.54
Ocean Blue
#4F42B5
ΔE00 9.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B337E #667E33
analogous
#33417E #4B337E #71337E
triadic
#4B337E #7E4B33 #337E4B
tetradic
#4B337E #7E3341 #667E33 #337E71
square
#4B337E #7E3341 #667E33 #337E71
split-complementary
#4B337E #7E7133 #417E33
monochromatic
#171027 #312152 #4B337E #6545AA #8669C2
Accessibility & contrast
On white
10.13
#4B337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4B337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B337E
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B337E | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#3E4353
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4b337e; /* rgb */ color: rgb(75, 51, 126); /* oklch */ color: oklch(39.0% 0.122 294.9);
Tailwind
colors: {
custom: {
50: '#816ba4',
500: '#4b337e',
950: '#000000',
},
}SCSS
$custom: #4b337e; $custom-light: #816ba4; $custom-dark: #000000;
JSON
{
"hex": "#4b337e",
"rgb": {
"r": 75,
"g": 51,
"b": 126
},
"hsl": {
"h": 259.2,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.38951,
"c": 0.12187,
"h": 294.9
},
"luminance": 0.0537
}Semantic roles & 50–950 ramp
primary
#4B337E
secondary
#93AA63
accent
#D256AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F