#4D357F#4D357F
#4D357F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.6% C 0.120 H 295.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4D357F |
|---|---|
| RGB | rgb(77, 53, 127) |
| HSL | hsl(259, 41%, 35%) |
| HSV | hsv(259, 58%, 50%) |
| CMYK | cmyk(39.4%, 58.3%, 0%, 50.2%) |
| CIE-LAB | lab(28.53, 28.67, -38.30) |
| CIE-LCH | lch(28.53, 47.84, 306.82°) |
| OKLab | oklab(39.59% 0.0514 -0.1087) |
| OKLCH | oklch(39.59% 0.12 295.3) |
| XYZ | xyz(8.1634, 5.6561, 20.7362) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.71
Blueberry
#464196
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 9.44
Twilight
#4E518B
ΔE00 9.46
Indigo
#4B0082
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D357F #677F35
analogous
#35427F #4D357F #72357F
triadic
#4D357F #7F4D35 #357F4D
tetradic
#4D357F #7F3542 #677F35 #357F72
square
#4D357F #7F3542 #677F35 #357F72
split-complementary
#4D357F #7F7235 #427F35
monochromatic
#191129 #332354 #4D357F #6747AA #886DC2
Accessibility & contrast
On white
9.85
#4D357F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4D357F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D357F
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D357F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D357F | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#414454
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d357f; /* rgb */ color: rgb(77, 53, 127); /* oklch */ color: oklch(39.6% 0.120 295.3);
Tailwind
colors: {
custom: {
50: '#826da5',
500: '#4d357f',
950: '#000000',
},
}SCSS
$custom: #4d357f; $custom-light: #826da5; $custom-dark: #000000;
JSON
{
"hex": "#4d357f",
"rgb": {
"r": 77,
"g": 53,
"b": 127
},
"hsl": {
"h": 259.459,
"s": 41.111,
"l": 35.294
},
"oklch": {
"l": 0.39587,
"c": 0.12026,
"h": 295.3
},
"luminance": 0.05656
}Semantic roles & 50–950 ramp
primary
#4D357F
secondary
#94AA66
accent
#D157A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F