#4B229F#4B229F
#4B229F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.185 H 290.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4B229F |
|---|---|
| RGB | rgb(75, 34, 159) |
| HSL | hsl(260, 65%, 38%) |
| HSV | hsv(260, 79%, 62%) |
| CMYK | cmyk(52.8%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(27.14, 47.96, -60.34) |
| CIE-LCH | lch(27.14, 77.08, 308.48°) |
| OKLab | oklab(39.36% 0.0633 -0.1734) |
| OKLCH | oklch(39.36% 0.185 290.1) |
| XYZ | xyz(9.7299, 5.1427, 33.2741) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Violet Blue
#510AC9
ΔE00 5.75
Rebeccapurple
#663399
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.30
Indigo
#4B0082
ΔE00 6.38
Indigo (survey)
#380282
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B229F #769F22
analogous
#22379F #4B229F #89229F
triadic
#4B229F #9F4B22 #229F4B
tetradic
#4B229F #9F2237 #769F22 #229F89
square
#4B229F #9F2237 #769F22 #229F89
split-complementary
#4B229F #9F8922 #379F22
monochromatic
#1B0C3A #33176D #4B229F #632DD1 #885FDD
Accessibility & contrast
On white
10.35
#4B229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4B229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B229F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B229F | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#2C4660
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4b229f; /* rgb */ color: rgb(75, 34, 159); /* oklch */ color: oklch(39.4% 0.185 290.1);
Tailwind
colors: {
custom: {
50: '#8762bc',
500: '#4b229f',
950: '#000000',
},
}SCSS
$custom: #4b229f; $custom-light: #8762bc; $custom-dark: #000000;
JSON
{
"hex": "#4b229f",
"rgb": {
"r": 75,
"g": 34,
"b": 159
},
"hsl": {
"h": 259.68,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.39359,
"c": 0.18465,
"h": 290.1
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#4B229F
secondary
#A0C15B
accent
#E840B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81