#4A239C#4A239C
#4A239C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.180 H 290.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4A239C |
|---|---|
| RGB | rgb(74, 35, 156) |
| HSL | hsl(259, 63%, 37%) |
| HSV | hsv(259, 78%, 61%) |
| CMYK | cmyk(52.6%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(26.90, 46.51, -58.91) |
| CIE-LCH | lch(26.90, 75.06, 308.30°) |
| OKLab | oklab(39.08% 0.0619 -0.1693) |
| OKLCH | oklch(39.08% 0.18 290.1) |
| XYZ | xyz(9.4241, 5.0578, 31.9257) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Violet Blue
#510AC9
ΔE00 6.23
Rebeccapurple
#663399
ΔE00 6.24
Indigo
#4B0082
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.51
Indigo (survey)
#380282
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A239C #759C23
analogous
#23389C #4A239C #87239C
triadic
#4A239C #9C4A23 #239C4A
tetradic
#4A239C #9C2338 #759C23 #239C87
square
#4A239C #9C2338 #759C23 #239C87
split-complementary
#4A239C #9C8723 #389C23
monochromatic
#1B0D38 #32186A #4A239C #622ECE #875EDB
Accessibility & contrast
On white
10.44
#4A239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4A239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A239C
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A239C | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#2C455E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4a239c; /* rgb */ color: rgb(74, 35, 156); /* oklch */ color: oklch(39.1% 0.180 290.1);
Tailwind
colors: {
custom: {
50: '#8663ba',
500: '#4a239c',
950: '#000000',
},
}SCSS
$custom: #4a239c; $custom-light: #8663ba; $custom-dark: #000000;
JSON
{
"hex": "#4a239c",
"rgb": {
"r": 74,
"g": 35,
"b": 156
},
"hsl": {
"h": 259.339,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.39078,
"c": 0.18026,
"h": 290.1
},
"luminance": 0.05058
}Semantic roles & 50–950 ramp
primary
#4A239C
secondary
#9FC05B
accent
#E641B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81