#4C366F#4C366F
#4C366F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.6% C 0.096 H 299.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4C366F |
|---|---|
| RGB | rgb(76, 54, 111) |
| HSL | hsl(263, 35%, 32%) |
| HSV | hsv(263, 51%, 44%) |
| CMYK | cmyk(31.5%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(27.63, 23.17, -29.61) |
| CIE-LCH | lch(27.63, 37.60, 308.04°) |
| OKLab | oklab(38.57% 0.0476 -0.0833) |
| OKLCH | oklch(38.57% 0.096 299.7) |
| XYZ | xyz(7.1682, 5.3225, 15.6855) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.40
Blueberry
#464196
ΔE00 8.66
Rebeccapurple
#663399
ΔE00 8.97
Twilight
#4E518B
ΔE00 9.96
Grape
#6C3461
ΔE00 10.64
Dusk
#4E5481
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C366F #596F36
analogous
#363D6F #4C366F #69366F
triadic
#4C366F #6F4C36 #366F4C
tetradic
#4C366F #6F363D #596F36 #366F69
square
#4C366F #6F363D #596F36 #366F69
split-complementary
#4C366F #6F6936 #3D6F36
monochromatic
#140E1D #302246 #4C366F #684A98 #8769B6
Accessibility & contrast
On white
10.17
#4C366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4C366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C366F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C366F | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#29416E
Tritanopia (blue-blind)
#45414D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c366f; /* rgb */ color: rgb(76, 54, 111); /* oklch */ color: oklch(38.6% 0.096 299.7);
Tailwind
colors: {
custom: {
50: '#806d98',
500: '#4c366f',
950: '#000000',
},
}SCSS
$custom: #4c366f; $custom-light: #806d98; $custom-dark: #000000;
JSON
{
"hex": "#4c366f",
"rgb": {
"r": 76,
"g": 54,
"b": 111
},
"hsl": {
"h": 263.158,
"s": 34.545,
"l": 32.353
},
"oklch": {
"l": 0.38567,
"c": 0.09591,
"h": 299.7
},
"luminance": 0.05323
}Semantic roles & 50–950 ramp
primary
#4C366F
secondary
#879F62
accent
#CB5DA0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E