#4A26B2#4A26B2
#4A26B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.203 H 285.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26B2 |
|---|---|
| RGB | rgb(74, 38, 178) |
| HSL | hsl(255, 65%, 42%) |
| HSV | hsv(255, 79%, 70%) |
| CMYK | cmyk(58.4%, 78.7%, 0%, 30.2%) |
| CIE-LAB | lab(29.55, 51.31, -67.82) |
| CIE-LCH | lch(29.55, 85.05, 307.11°) |
| OKLab | oklab(41.58% 0.0533 -0.1954) |
| OKLCH | oklch(41.58% 0.203 285.3) |
| XYZ | xyz(11.5506, 6.0557, 42.6711) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.04
Violet Blue
#510AC9
ΔE00 3.94
Purple Blue
#5D21D0
ΔE00 4.68
Blurple
#5539CC
ΔE00 5.77
Blue With A Hint Of Purple
#533CC6
ΔE00 5.79
True Blue
#010FCC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26B2 #8EB226
analogous
#2648B2 #4A26B2 #9026B2
triadic
#4A26B2 #B24A26 #26B24A
tetradic
#4A26B2 #B22648 #8EB226 #26B290
square
#4A26B2 #B22648 #8EB226 #26B290
split-complementary
#4A26B2 #B29026 #48B226
monochromatic
#20104D #351B80 #4A26B2 #663FD6 #8E72E1
Accessibility & contrast
On white
9.50
#4A26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4A26B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26B2
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26B2 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#0F4F6C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a26b2; /* rgb */ color: rgb(74, 38, 178); /* oklch */ color: oklch(41.6% 0.203 285.3);
Tailwind
colors: {
custom: {
50: '#8965ca',
500: '#4a26b2',
950: '#000000',
},
}SCSS
$custom: #4a26b2; $custom-light: #8965ca; $custom-dark: #000000;
JSON
{
"hex": "#4a26b2",
"rgb": {
"r": 74,
"g": 38,
"b": 178
},
"hsl": {
"h": 255.429,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.41583,
"c": 0.20252,
"h": 285.3
},
"luminance": 0.06056
}Semantic roles & 50–950 ramp
primary
#4A26B2
secondary
#B0C86C
accent
#E840BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82