#4D3F7C#4D3F7C
#4D3F7C is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.3% C 0.100 H 292.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4D3F7C |
|---|---|
| RGB | rgb(77, 63, 124) |
| HSL | hsl(254, 33%, 37%) |
| HSV | hsv(254, 49%, 49%) |
| CMYK | cmyk(37.9%, 49.2%, 0%, 51.4%) |
| CIE-LAB | lab(30.85, 21.44, -32.71) |
| CIE-LCH | lch(30.85, 39.11, 303.25°) |
| OKLab | oklab(41.25% 0.0373 -0.0923) |
| OKLCH | oklch(41.25% 0.1 292) |
| XYZ | xyz(8.4752, 6.5878, 19.8899) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.82
Blueberry
#464196
ΔE00 5.74
Twilight
#4E518B
ΔE00 6.51
Dusk
#4E5481
ΔE00 7.81
Rebeccapurple
#663399
ΔE00 8.45
Ocean Blue
#4F42B5
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D3F7C #6E7C3F
analogous
#3F507C #4D3F7C #6C3F7C
triadic
#4D3F7C #7C4D3F #3F7C4D
tetradic
#4D3F7C #7C3F50 #6E7C3F #3F7C6C
square
#4D3F7C #7C3F50 #6E7C3F #3F7C6C
split-complementary
#4D3F7C #7C6C3F #507C3F
monochromatic
#1B162B #342A53 #4D3F7C #6654A5 #897ABB
Accessibility & contrast
On white
9.06
#4D3F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4D3F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D3F7C
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D3F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D3F7C | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#2B477B
Tritanopia (blue-blind)
#414B57
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4d3f7c; /* rgb */ color: rgb(77, 63, 124); /* oklch */ color: oklch(41.3% 0.100 292.0);
Tailwind
colors: {
custom: {
50: '#8174a2',
500: '#4d3f7c',
950: '#000000',
},
}SCSS
$custom: #4d3f7c; $custom-light: #8174a2; $custom-dark: #000000;
JSON
{
"hex": "#4d3f7c",
"rgb": {
"r": 77,
"g": 63,
"b": 124
},
"hsl": {
"h": 253.77,
"s": 32.62,
"l": 36.667
},
"oklch": {
"l": 0.41253,
"c": 0.09956,
"h": 292
},
"luminance": 0.06588
}Semantic roles & 50–950 ramp
primary
#4D3F7C
secondary
#9AA671
accent
#C95FB0
background
#F8F7FA
surface
#EFEDF3
border
#CAC8CD
text
#0A080F
muted
#7C7B7F