#4D299F#4D299F
#4D299F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.177 H 290.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4D299F |
|---|---|
| RGB | rgb(77, 41, 159) |
| HSL | hsl(258, 59%, 39%) |
| HSV | hsv(258, 74%, 62%) |
| CMYK | cmyk(51.6%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.55, 44.86, -58.00) |
| CIE-LCH | lch(28.55, 73.33, 307.72°) |
| OKLab | oklab(40.41% 0.0608 -0.1666) |
| OKLCH | oklch(40.41% 0.177 290) |
| XYZ | xyz(10.1097, 5.6664, 33.3552) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.50
Rebeccapurple
#663399
ΔE00 5.42
Violet Blue
#510AC9
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.87
Purple Blue
#5D21D0
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D299F #7B9F29
analogous
#29409F #4D299F #88299F
triadic
#4D299F #9F4D29 #299F4D
tetradic
#4D299F #9F2940 #7B9F29 #299F88
square
#4D299F #9F2940 #7B9F29 #299F88
split-complementary
#4D299F #9F8829 #409F29
monochromatic
#1E103E #351C6E #4D299F #6639CC #8C6AD9
Accessibility & contrast
On white
9.84
#4D299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4D299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D299F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D299F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#304962
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d299f; /* rgb */ color: rgb(77, 41, 159); /* oklch */ color: oklch(40.4% 0.177 290.0);
Tailwind
colors: {
custom: {
50: '#8766bc',
500: '#4d299f',
950: '#000000',
},
}SCSS
$custom: #4d299f; $custom-light: #8766bc; $custom-dark: #000000;
JSON
{
"hex": "#4d299f",
"rgb": {
"r": 77,
"g": 41,
"b": 159
},
"hsl": {
"h": 258.305,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.40405,
"c": 0.17734,
"h": 290
},
"luminance": 0.05667
}Semantic roles & 50–950 ramp
primary
#4D299F
secondary
#A3BF65
accent
#E246B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81