#4A269D#4A269D
#4A269D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.178 H 289.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4A269D |
|---|---|
| RGB | rgb(74, 38, 157) |
| HSL | hsl(258, 61%, 38%) |
| HSV | hsv(258, 76%, 62%) |
| CMYK | cmyk(52.9%, 75.8%, 0%, 38.4%) |
| CIE-LAB | lab(27.51, 45.33, -58.52) |
| CIE-LCH | lch(27.51, 74.02, 307.76°) |
| OKLab | oklab(39.53% 0.0592 -0.1682) |
| OKLCH | oklch(39.53% 0.178 289.4) |
| XYZ | xyz(9.6012, 5.2760, 32.4042) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Rebeccapurple
#663399
ΔE00 6.01
Violet Blue
#510AC9
ΔE00 6.30
Indigo
#4B0082
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 6.85
Royal
#0C1793
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A269D #799D26
analogous
#263D9D #4A269D #85269D
triadic
#4A269D #9D4A26 #269D4A
tetradic
#4A269D #9D263D #799D26 #269D85
square
#4A269D #9D263D #799D26 #269D85
split-complementary
#4A269D #9D8526 #3D9D26
monochromatic
#1C0E3A #331A6C #4A269D #6233CE #8764D9
Accessibility & contrast
On white
10.22
#4A269D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4A269D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A269D
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A269D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A269D | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2B4760
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a269d; /* rgb */ color: rgb(74, 38, 157); /* oklch */ color: oklch(39.5% 0.178 289.4);
Tailwind
colors: {
custom: {
50: '#8664bb',
500: '#4a269d',
950: '#000000',
},
}SCSS
$custom: #4a269d; $custom-light: #8664bb; $custom-dark: #000000;
JSON
{
"hex": "#4a269d",
"rgb": {
"r": 74,
"g": 38,
"b": 157
},
"hsl": {
"h": 258.151,
"s": 61.026,
"l": 38.235
},
"oklch": {
"l": 0.39534,
"c": 0.17831,
"h": 289.4
},
"luminance": 0.05276
}Semantic roles & 50–950 ramp
primary
#4A269D
secondary
#A2BF60
accent
#E444B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81