#4A26B9#4A26B9
#4A26B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.210 H 284.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26B9 |
|---|---|
| RGB | rgb(74, 38, 185) |
| HSL | hsl(255, 66%, 44%) |
| HSV | hsv(255, 79%, 73%) |
| CMYK | cmyk(60%, 79.5%, 0%, 27.5%) |
| CIE-LAB | lab(30.26, 53.29, -70.81) |
| CIE-LCH | lch(30.26, 88.63, 306.97°) |
| OKLab | oklab(42.29% 0.0512 -0.2041) |
| OKLCH | oklch(42.29% 0.21 284.1) |
| XYZ | xyz(12.2714, 6.3440, 46.4674) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Violet Blue
#510AC9
ΔE00 3.41
Purple Blue
#5D21D0
ΔE00 3.92
Blurple
#5539CC
ΔE00 5.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
True Blue
#010FCC
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26B9 #95B926
analogous
#264BB9 #4A26B9 #9326B9
triadic
#4A26B9 #B94A26 #26B94A
tetradic
#4A26B9 #B9264B #95B926 #26B993
square
#4A26B9 #B9264B #95B926 #26B993
split-complementary
#4A26B9 #B99326 #4BB926
monochromatic
#211153 #361C86 #4A26B9 #6844D9 #9176E3
Accessibility & contrast
On white
9.26
#4A26B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4A26B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26B9
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26B9 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4a26b9; /* rgb */ color: rgb(74, 38, 185); /* oklch */ color: oklch(42.3% 0.210 284.1);
Tailwind
colors: {
custom: {
50: '#8a66cf',
500: '#4a26b9',
950: '#000000',
},
}SCSS
$custom: #4a26b9; $custom-light: #8a66cf; $custom-dark: #000000;
JSON
{
"hex": "#4a26b9",
"rgb": {
"r": 74,
"g": 38,
"b": 185
},
"hsl": {
"h": 254.694,
"s": 65.919,
"l": 43.725
},
"oklch": {
"l": 0.42291,
"c": 0.21043,
"h": 284.1
},
"luminance": 0.06345
}Semantic roles & 50–950 ramp
primary
#4A26B9
secondary
#B4CA70
accent
#E93FBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82