#4D279F#4D279F
#4D279F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.180 H 290.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4D279F |
|---|---|
| RGB | rgb(77, 39, 159) |
| HSL | hsl(259, 61%, 39%) |
| HSV | hsv(259, 75%, 62%) |
| CMYK | cmyk(51.6%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.20, 45.86, -58.59) |
| CIE-LCH | lch(28.20, 74.41, 308.05°) |
| OKLab | oklab(40.15% 0.0625 -0.1683) |
| OKLCH | oklch(40.15% 0.18 290.4) |
| XYZ | xyz(10.0423, 5.5316, 33.3327) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.25
Rebeccapurple
#663399
ΔE00 5.57
Violet Blue
#510AC9
ΔE00 6.09
Purple Blue
#5D21D0
ΔE00 6.90
Indigo
#4B0082
ΔE00 7.09
Ultramarine
#2000B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D279F #799F27
analogous
#273D9F #4D279F #89279F
triadic
#4D279F #9F4D27 #279F4D
tetradic
#4D279F #9F273D #799F27 #279F89
square
#4D279F #9F273D #799F27 #279F89
split-complementary
#4D279F #9F8927 #3D9F27
monochromatic
#1D0F3D #351B6E #4D279F #6636CE #8B67DA
Accessibility & contrast
On white
9.97
#4D279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4D279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D279F
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D279F | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#304861
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d279f; /* rgb */ color: rgb(77, 39, 159); /* oklch */ color: oklch(40.2% 0.180 290.4);
Tailwind
colors: {
custom: {
50: '#8765bc',
500: '#4d279f',
950: '#000000',
},
}SCSS
$custom: #4d279f; $custom-light: #8765bc; $custom-dark: #000000;
JSON
{
"hex": "#4d279f",
"rgb": {
"r": 77,
"g": 39,
"b": 159
},
"hsl": {
"h": 259,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.40154,
"c": 0.17951,
"h": 290.4
},
"luminance": 0.05532
}Semantic roles & 50–950 ramp
primary
#4D279F
secondary
#A2C062
accent
#E444B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81