#4A26B1#4A26B1
#4A26B1 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.201 H 285.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26B1 |
|---|---|
| RGB | rgb(74, 38, 177) |
| HSL | hsl(256, 65%, 42%) |
| HSV | hsv(256, 79%, 69%) |
| CMYK | cmyk(58.2%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(29.45, 51.03, -67.39) |
| CIE-LCH | lch(29.45, 84.53, 307.14°) |
| OKLab | oklab(41.48% 0.0536 -0.1941) |
| OKLCH | oklch(41.48% 0.201 285.4) |
| XYZ | xyz(11.4506, 6.0157, 42.1442) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.03
Violet Blue
#510AC9
ΔE00 4.03
Purple Blue
#5D21D0
ΔE00 4.80
Blurple
#5539CC
ΔE00 5.87
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
True Blue
#010FCC
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26B1 #8DB126
analogous
#2647B1 #4A26B1 #9026B1
triadic
#4A26B1 #B14A26 #26B14A
tetradic
#4A26B1 #B12647 #8DB126 #26B190
square
#4A26B1 #B12647 #8DB126 #26B190
split-complementary
#4A26B1 #B19026 #47B126
monochromatic
#20104C #351B7F #4A26B1 #663FD6 #8E71E0
Accessibility & contrast
On white
9.53
#4A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#4A26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26B1
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26B1 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#124F6B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4a26b1; /* rgb */ color: rgb(74, 38, 177); /* oklch */ color: oklch(41.5% 0.201 285.4);
Tailwind
colors: {
custom: {
50: '#8965ca',
500: '#4a26b1',
950: '#000000',
},
}SCSS
$custom: #4a26b1; $custom-light: #8965ca; $custom-dark: #000000;
JSON
{
"hex": "#4a26b1",
"rgb": {
"r": 74,
"g": 38,
"b": 177
},
"hsl": {
"h": 255.54,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.41483,
"c": 0.20139,
"h": 285.4
},
"luminance": 0.06016
}Semantic roles & 50–950 ramp
primary
#4A26B1
secondary
#B0C76B
accent
#E840BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82