#4D26B2#4D26B2
#4D26B2 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.202 H 286.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4D26B2 |
|---|---|
| RGB | rgb(77, 38, 178) |
| HSL | hsl(257, 65%, 42%) |
| HSV | hsv(257, 79%, 70%) |
| CMYK | cmyk(56.7%, 78.7%, 0%, 30.2%) |
| CIE-LAB | lab(29.86, 51.68, -67.31) |
| CIE-LCH | lch(29.86, 84.86, 307.52°) |
| OKLab | oklab(41.87% 0.0579 -0.1938) |
| OKLCH | oklch(41.87% 0.202 286.6) |
| XYZ | xyz(11.7872, 6.1777, 42.6822) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
Violet Blue
#510AC9
ΔE00 3.86
Purple Blue
#5D21D0
ΔE00 4.47
Blurple
#5539CC
ΔE00 5.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.71
True Blue
#010FCC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D26B2 #8BB226
analogous
#2645B2 #4D26B2 #9326B2
triadic
#4D26B2 #B24D26 #26B24D
tetradic
#4D26B2 #B22645 #8BB226 #26B293
square
#4D26B2 #B22645 #8BB226 #26B293
split-complementary
#4D26B2 #B29326 #45B226
monochromatic
#21104D #371B80 #4D26B2 #693FD6 #9172E1
Accessibility & contrast
On white
9.39
#4D26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#4D26B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D26B2
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D26B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D26B2 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#1D4F6C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4d26b2; /* rgb */ color: rgb(77, 38, 178); /* oklch */ color: oklch(41.9% 0.202 286.6);
Tailwind
colors: {
custom: {
50: '#8b66ca',
500: '#4d26b2',
950: '#000000',
},
}SCSS
$custom: #4d26b2; $custom-light: #8b66ca; $custom-dark: #000000;
JSON
{
"hex": "#4d26b2",
"rgb": {
"r": 77,
"g": 38,
"b": 178
},
"hsl": {
"h": 256.714,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.41867,
"c": 0.20226,
"h": 286.6
},
"luminance": 0.06178
}Semantic roles & 50–950 ramp
primary
#4D26B2
secondary
#AEC86C
accent
#E840B9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82