#4A2C98#4A2C98
#4A2C98 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.165 H 289.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2C98 |
|---|---|
| RGB | rgb(74, 44, 152) |
| HSL | hsl(257, 55%, 38%) |
| HSV | hsv(257, 71%, 60%) |
| CMYK | cmyk(51.3%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(28.18, 40.73, -54.36) |
| CIE-LCH | lch(28.18, 67.93, 306.84°) |
| OKLab | oklab(39.87% 0.0551 -0.156) |
| OKLCH | oklch(39.87% 0.165 289.4) |
| XYZ | xyz(9.3906, 5.5238, 30.2711) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.42
Rebeccapurple
#663399
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 5.72
Blueberry
#464196
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 7.00
Sapphire (survey)
#2138AB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2C98 #7A982C
analogous
#2C4498 #4A2C98 #802C98
triadic
#4A2C98 #984A2C #2C984A
tetradic
#4A2C98 #982C44 #7A982C #2C9880
square
#4A2C98 #982C44 #7A982C #2C9880
split-complementary
#4A2C98 #98802C #44982C
monochromatic
#1C1139 #331E69 #4A2C98 #623BC6 #886AD4
Accessibility & contrast
On white
9.98
#4A2C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4A2C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2C98
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2C98 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#2F485E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4a2c98; /* rgb */ color: rgb(74, 44, 152); /* oklch */ color: oklch(39.9% 0.165 289.4);
Tailwind
colors: {
custom: {
50: '#8468b7',
500: '#4a2c98',
950: '#000000',
},
}SCSS
$custom: #4a2c98; $custom-light: #8468b7; $custom-dark: #000000;
JSON
{
"hex": "#4a2c98",
"rgb": {
"r": 74,
"g": 44,
"b": 152
},
"hsl": {
"h": 256.667,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.3987,
"c": 0.16546,
"h": 289.4
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#4A2C98
secondary
#A3BB65
accent
#DE49B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80