#4D358F#4D358F
#4D358F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.142 H 291.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4D358F |
|---|---|
| RGB | rgb(77, 53, 143) |
| HSL | hsl(256, 46%, 38%) |
| HSV | hsv(256, 63%, 56%) |
| CMYK | cmyk(46.2%, 62.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.68, 33.42, -46.38) |
| CIE-LCH | lch(29.68, 57.17, 305.78°) |
| OKLab | oklab(40.8% 0.051 -0.1325) |
| OKLCH | oklch(40.8% 0.142 291.1) |
| XYZ | xyz(9.2902, 6.1068, 26.6705) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.09
Blueberry
#464196
ΔE00 4.37
Rebeccapurple
#663399
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 6.76
Sapphire (survey)
#2138AB
ΔE00 7.73
Indigo Blue
#3A18B1
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D358F #778F35
analogous
#354A8F #4D358F #7A358F
triadic
#4D358F #8F4D35 #358F4D
tetradic
#4D358F #8F354A #778F35 #358F7A
square
#4D358F #8F354A #778F35 #358F7A
split-complementary
#4D358F #8F7A35 #4A8F35
monochromatic
#1D1436 #352462 #4D358F #6647BB #8B73CB
Accessibility & contrast
On white
9.45
#4D358F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4D358F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D358F
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D358F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D358F | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#394A5D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4d358f; /* rgb */ color: rgb(77, 53, 143); /* oklch */ color: oklch(40.8% 0.142 291.1);
Tailwind
colors: {
custom: {
50: '#846db0',
500: '#4d358f',
950: '#000000',
},
}SCSS
$custom: #4d358f; $custom-light: #846db0; $custom-dark: #000000;
JSON
{
"hex": "#4d358f",
"rgb": {
"r": 77,
"g": 53,
"b": 143
},
"hsl": {
"h": 256,
"s": 45.918,
"l": 38.431
},
"oklch": {
"l": 0.40799,
"c": 0.14195,
"h": 291.1
},
"luminance": 0.06107
}Semantic roles & 50–950 ramp
primary
#4D358F
secondary
#A1B46C
accent
#D652B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80