#4B258F#4B258F
#4B258F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.163 H 293.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4B258F |
|---|---|
| RGB | rgb(75, 37, 143) |
| HSL | hsl(262, 59%, 35%) |
| HSV | hsv(262, 74%, 56%) |
| CMYK | cmyk(47.6%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(26.16, 42.03, -52.11) |
| CIE-LCH | lch(26.16, 66.95, 308.89°) |
| OKLab | oklab(38.22% 0.0651 -0.1493) |
| OKLCH | oklch(38.22% 0.163 293.6) |
| XYZ | xyz(8.5198, 4.8019, 26.4592) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.58
Rebeccapurple
#663399
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.91
Royal
#0C1793
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B258F #698F25
analogous
#25348F #4B258F #80258F
triadic
#4B258F #8F4B25 #258F4B
tetradic
#4B258F #8F2534 #698F25 #258F80
square
#4B258F #8F2534 #698F25 #258F80
split-complementary
#4B258F #8F8025 #348F25
monochromatic
#180C2E #31185E #4B258F #6432C0 #865AD4
Accessibility & contrast
On white
10.71
#4B258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4B258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B258F
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B258F | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#374158
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b258f; /* rgb */ color: rgb(75, 37, 143); /* oklch */ color: oklch(38.2% 0.163 293.6);
Tailwind
colors: {
custom: {
50: '#8463b1',
500: '#4b258f',
950: '#000000',
},
}SCSS
$custom: #4b258f; $custom-light: #8463b1; $custom-dark: #000000;
JSON
{
"hex": "#4b258f",
"rgb": {
"r": 75,
"g": 37,
"b": 143
},
"hsl": {
"h": 261.509,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.38219,
"c": 0.16293,
"h": 293.6
},
"luminance": 0.04802
}Semantic roles & 50–950 ramp
primary
#4B258F
secondary
#96B957
accent
#E246AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80