#4D416F#4D416F
#4D416F is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.076 H 294.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D416F |
|---|---|
| RGB | rgb(77, 65, 111) |
| HSL | hsl(256, 26%, 35%) |
| HSV | hsv(256, 41%, 44%) |
| CMYK | cmyk(30.6%, 41.4%, 0%, 56.5%) |
| CIE-LAB | lab(30.65, 16.36, -24.84) |
| CIE-LCH | lch(30.65, 29.74, 303.38°) |
| OKLab | oklab(40.87% 0.032 -0.0694) |
| OKLCH | oklch(40.87% 0.076 294.8) |
| XYZ | xyz(7.8194, 6.5060, 15.8797) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.39
Twilight
#4E518B
ΔE00 7.54
Dusk
#4E5481
ΔE00 7.55
Blueberry
#464196
ΔE00 9.10
Rebeccapurple
#663399
ΔE00 11.25
Grape
#6C3461
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D416F #636F41
analogous
#414C6F #4D416F #64416F
triadic
#4D416F #6F4D41 #416F4D
tetradic
#4D416F #6F414C #636F41 #416F64
square
#4D416F #6F414C #636F41 #416F64
split-complementary
#4D416F #6F6441 #4C6F41
monochromatic
#171422 #322A48 #4D416F #685896 #887AB1
Accessibility & contrast
On white
9.13
#4D416F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#4D416F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D416F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D416F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D416F | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#36476E
Tritanopia (blue-blind)
#464952
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4d416f; /* rgb */ color: rgb(77, 65, 111); /* oklch */ color: oklch(40.9% 0.076 294.8);
Tailwind
colors: {
custom: {
50: '#807598',
500: '#4d416f',
950: '#000000',
},
}SCSS
$custom: #4d416f; $custom-light: #807598; $custom-dark: #000000;
JSON
{
"hex": "#4d416f",
"rgb": {
"r": 77,
"g": 65,
"b": 111
},
"hsl": {
"h": 255.652,
"s": 26.136,
"l": 34.51
},
"oklch": {
"l": 0.40867,
"c": 0.07642,
"h": 294.8
},
"luminance": 0.06506
}Semantic roles & 50–950 ramp
primary
#4D416F
secondary
#909C70
accent
#C365AA
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080D
muted
#7C7B7E