#4C366A#4C366A
#4C366A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.089 H 301.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C366A |
|---|---|
| RGB | rgb(76, 54, 106) |
| HSL | hsl(265, 33%, 31%) |
| HSV | hsv(265, 49%, 42%) |
| CMYK | cmyk(28.3%, 49.1%, 0%, 58.4%) |
| CIE-LAB | lab(27.34, 21.78, -26.88) |
| CIE-LCH | lch(27.34, 34.59, 309.01°) |
| OKLab | oklab(38.25% 0.0469 -0.0753) |
| OKLCH | oklch(38.25% 0.089 301.9) |
| XYZ | xyz(6.9006, 5.2154, 14.2760) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.59
Blueberry
#464196
ΔE00 9.81
Grape
#6C3461
ΔE00 9.94
Rebeccapurple
#663399
ΔE00 9.99
Twilight
#4E518B
ΔE00 10.51
Dusk
#4E5481
ΔE00 11.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C366A #546A36
analogous
#363A6A #4C366A #66366A
triadic
#4C366A #6A4C36 #366A4C
tetradic
#4C366A #6A363A #546A36 #366A66
square
#4C366A #6A363A #546A36 #366A66
split-complementary
#4C366A #6A6636 #3A6A36
monochromatic
#120D19 #2F2141 #4C366A #694B93 #8868B2
Accessibility & contrast
On white
10.28
#4C366A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4C366A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C366A
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C366A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C366A | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#473F4B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c366a; /* rgb */ color: rgb(76, 54, 106); /* oklch */ color: oklch(38.3% 0.089 301.9);
Tailwind
colors: {
custom: {
50: '#7f6d95',
500: '#4c366a',
950: '#000000',
},
}SCSS
$custom: #4c366a; $custom-light: #7f6d95; $custom-dark: #000000;
JSON
{
"hex": "#4c366a",
"rgb": {
"r": 76,
"g": 54,
"b": 106
},
"hsl": {
"h": 265.385,
"s": 32.5,
"l": 31.373
},
"oklch": {
"l": 0.38251,
"c": 0.08872,
"h": 301.9
},
"luminance": 0.05215
}Semantic roles & 50–950 ramp
primary
#4C366A
secondary
#829B61
accent
#C95F9C
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E