#4D26C9#4D26C9
#4D26C9 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.228 H 282.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4D26C9 |
|---|---|
| RGB | rgb(77, 38, 201) |
| HSL | hsl(254, 68%, 47%) |
| HSV | hsv(254, 81%, 79%) |
| CMYK | cmyk(61.7%, 81.1%, 0%, 21.2%) |
| CIE-LAB | lab(32.21, 58.07, -77.00) |
| CIE-LCH | lch(32.21, 96.44, 307.02°) |
| OKLab | oklab(44.2% 0.0506 -0.2221) |
| OKLCH | oklch(44.2% 0.228 282.8) |
| XYZ | xyz(14.2930, 7.1800, 55.8797) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.27
Violet Blue
#510AC9
ΔE00 3.04
Blurple
#5539CC
ΔE00 3.95
Blue With A Hint Of Purple
#533CC6
ΔE00 4.47
Blue Violet
#5D06E9
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D26C9 #A2C926
analogous
#2650C9 #4D26C9 #9F26C9
triadic
#4D26C9 #C94D26 #26C94D
tetradic
#4D26C9 #C92650 #A2C926 #26C99F
square
#4D26C9 #C92650 #A2C926 #26C99F
split-complementary
#4D26C9 #C99F26 #50C926
monochromatic
#261362 #391C96 #4D26C9 #714FDE #9A82E7
Accessibility & contrast
On white
8.62
#4D26C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4D26C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D26C9
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D26C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D26C9 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4d26c9; /* rgb */ color: rgb(77, 38, 201); /* oklch */ color: oklch(44.2% 0.228 282.8);
Tailwind
colors: {
custom: {
50: '#8f67db',
500: '#4d26c9',
950: '#000000',
},
}SCSS
$custom: #4d26c9; $custom-light: #8f67db; $custom-dark: #000000;
JSON
{
"hex": "#4d26c9",
"rgb": {
"r": 77,
"g": 38,
"b": 201
},
"hsl": {
"h": 254.356,
"s": 68.201,
"l": 46.863
},
"oklch": {
"l": 0.44202,
"c": 0.22776,
"h": 282.8
},
"luminance": 0.07181
}Semantic roles & 50–950 ramp
primary
#4D26C9
secondary
#BCD07B
accent
#EB3DC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83