#4C4262#4C4262
#4C4262 is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.3% C 0.054 H 298.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4262 |
|---|---|
| RGB | rgb(76, 66, 98) |
| HSL | hsl(259, 20%, 32%) |
| HSV | hsv(259, 33%, 38%) |
| CMYK | cmyk(22.4%, 32.7%, 0%, 61.6%) |
| CIE-LAB | lab(30.19, 11.79, -17.29) |
| CIE-LCH | lch(30.19, 20.93, 304.30°) |
| OKLab | oklab(40.28% 0.0257 -0.0477) |
| OKLCH | oklch(40.28% 0.054 298.3) |
| XYZ | xyz(7.1328, 6.3147, 12.3960) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.87
Twilight
#4E518B
ΔE00 10.18
Dirty Purple
#734A65
ΔE00 11.41
Darkslateblue
#483D8B
ΔE00 11.43
Grape
#6C3461
ΔE00 11.78
Navy Blue
#1B2A4A
ΔE00 12.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4262 #586242
analogous
#424862 #4C4262 #5C4262
triadic
#4C4262 #624C42 #42624C
tetradic
#4C4262 #624248 #586242 #42625C
square
#4C4262 #624248 #586242 #42625C
split-complementary
#4C4262 #625C42 #486242
monochromatic
#131119 #30293D #4C4262 #685B87 #8779A5
Accessibility & contrast
On white
9.28
#4C4262 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#4C4262 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4262
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4262 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4262 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#3C4761
Tritanopia (blue-blind)
#48474D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4c4262; /* rgb */ color: rgb(76, 66, 98); /* oklch */ color: oklch(40.3% 0.054 298.3);
Tailwind
colors: {
custom: {
50: '#7e768e',
500: '#4c4262',
950: '#000000',
},
}SCSS
$custom: #4c4262; $custom-light: #7e768e; $custom-dark: #000000;
JSON
{
"hex": "#4c4262",
"rgb": {
"r": 76,
"g": 66,
"b": 98
},
"hsl": {
"h": 258.75,
"s": 19.512,
"l": 32.157
},
"oklch": {
"l": 0.4028,
"c": 0.05416,
"h": 298.3
},
"luminance": 0.06315
}Semantic roles & 50–950 ramp
primary
#4C4262
secondary
#86916F
accent
#BC6CA3
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D