#4C337E#4C337E
#4C337E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.1% C 0.122 H 295.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4C337E |
|---|---|
| RGB | rgb(76, 51, 126) |
| HSL | hsl(260, 42%, 35%) |
| HSV | hsv(260, 60%, 49%) |
| CMYK | cmyk(39.7%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(27.87, 29.36, -38.73) |
| CIE-LCH | lch(27.87, 48.60, 307.17°) |
| OKLab | oklab(39.06% 0.0527 -0.11) |
| OKLCH | oklch(39.06% 0.122 295.6) |
| XYZ | xyz(7.9292, 5.4104, 20.3612) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.08
Blueberry
#464196
ΔE00 6.28
Rebeccapurple
#663399
ΔE00 6.29
Indigo
#4B0082
ΔE00 9.29
Midnight Blue
#191970
ΔE00 9.69
Ocean Blue
#4F42B5
ΔE00 9.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C337E #657E33
analogous
#33407E #4C337E #72337E
triadic
#4C337E #7E4C33 #337E4C
tetradic
#4C337E #7E3340 #657E33 #337E72
square
#4C337E #7E3340 #657E33 #337E72
split-complementary
#4C337E #7E7233 #407E33
monochromatic
#171027 #322152 #4C337E #6645AA #8769C2
Accessibility & contrast
On white
10.09
#4C337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4C337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C337E
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C337E | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#15417C
Tritanopia (blue-blind)
#404353
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c337e; /* rgb */ color: rgb(76, 51, 126); /* oklch */ color: oklch(39.1% 0.122 295.6);
Tailwind
colors: {
custom: {
50: '#826ca4',
500: '#4c337e',
950: '#000000',
},
}SCSS
$custom: #4c337e; $custom-light: #826ca4; $custom-dark: #000000;
JSON
{
"hex": "#4c337e",
"rgb": {
"r": 76,
"g": 51,
"b": 126
},
"hsl": {
"h": 260,
"s": 42.373,
"l": 34.706
},
"oklch": {
"l": 0.39058,
"c": 0.12196,
"h": 295.6
},
"luminance": 0.05411
}Semantic roles & 50–950 ramp
primary
#4C337E
secondary
#92AA63
accent
#D256A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F