#4C367F#4C367F
#4C367F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.119 H 294.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4C367F |
|---|---|
| RGB | rgb(76, 54, 127) |
| HSL | hsl(258, 40%, 35%) |
| HSV | hsv(258, 57%, 50%) |
| CMYK | cmyk(40.2%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(28.66, 27.79, -38.09) |
| CIE-LCH | lch(28.66, 47.15, 306.12°) |
| OKLab | oklab(39.66% 0.0487 -0.1081) |
| OKLCH | oklch(39.66% 0.119 294.2) |
| XYZ | xyz(8.1294, 5.7070, 20.7478) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.38
Blueberry
#464196
ΔE00 5.65
Rebeccapurple
#663399
ΔE00 6.49
Twilight
#4E518B
ΔE00 9.08
Ocean Blue
#4F42B5
ΔE00 9.33
Sapphire (survey)
#2138AB
ΔE00 9.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C367F #697F36
analogous
#36457F #4C367F #70367F
triadic
#4C367F #7F4C36 #367F4C
tetradic
#4C367F #7F3645 #697F36 #367F70
square
#4C367F #7F3645 #697F36 #367F70
split-complementary
#4C367F #7F7036 #457F36
monochromatic
#191129 #322454 #4C367F #6648AA #876EC1
Accessibility & contrast
On white
9.81
#4C367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4C367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C367F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C367F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#3F4555
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4c367f; /* rgb */ color: rgb(76, 54, 127); /* oklch */ color: oklch(39.7% 0.119 294.2);
Tailwind
colors: {
custom: {
50: '#816ea5',
500: '#4c367f',
950: '#000000',
},
}SCSS
$custom: #4c367f; $custom-light: #816ea5; $custom-dark: #000000;
JSON
{
"hex": "#4c367f",
"rgb": {
"r": 76,
"g": 54,
"b": 127
},
"hsl": {
"h": 258.082,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.3966,
"c": 0.11859,
"h": 294.2
},
"luminance": 0.05707
}Semantic roles & 50–950 ramp
primary
#4C367F
secondary
#96AA67
accent
#D058AC
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F