#4A26AF#4A26AF
#4A26AF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.199 H 285.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4A26AF |
|---|---|
| RGB | rgb(74, 38, 175) |
| HSL | hsl(256, 64%, 42%) |
| HSV | hsv(256, 78%, 69%) |
| CMYK | cmyk(57.7%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(29.25, 50.46, -66.52) |
| CIE-LCH | lch(29.25, 83.50, 307.18°) |
| OKLab | oklab(41.28% 0.0542 -0.1916) |
| OKLCH | oklch(41.28% 0.199 285.8) |
| XYZ | xyz(11.2527, 5.9366, 41.1021) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.02
Violet Blue
#510AC9
ΔE00 4.21
Purple Blue
#5D21D0
ΔE00 5.03
True Blue
#010FCC
ΔE00 6.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.04
Blurple
#5539CC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A26AF #8BAF26
analogous
#2647AF #4A26AF #8E26AF
triadic
#4A26AF #AF4A26 #26AF4A
tetradic
#4A26AF #AF2647 #8BAF26 #26AF8E
square
#4A26AF #AF2647 #8BAF26 #26AF8E
split-complementary
#4A26AF #AF8E26 #47AF26
monochromatic
#1F104A #351B7D #4A26AF #653DD5 #8D70E0
Accessibility & contrast
On white
9.60
#4A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4A26AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A26AF
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A26AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A26AF | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#164E6A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4a26af; /* rgb */ color: rgb(74, 38, 175); /* oklch */ color: oklch(41.3% 0.199 285.8);
Tailwind
colors: {
custom: {
50: '#8865c8',
500: '#4a26af',
950: '#000000',
},
}SCSS
$custom: #4a26af; $custom-light: #8865c8; $custom-dark: #000000;
JSON
{
"hex": "#4a26af",
"rgb": {
"r": 74,
"g": 38,
"b": 175
},
"hsl": {
"h": 255.766,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.41283,
"c": 0.19911,
"h": 285.8
},
"luminance": 0.05937
}Semantic roles & 50–950 ramp
primary
#4A26AF
secondary
#AEC76A
accent
#E740BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82