#4B259F#4B259F
#4B259F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.182 H 289.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4B259F |
|---|---|
| RGB | rgb(75, 37, 159) |
| HSL | hsl(259, 62%, 38%) |
| HSV | hsv(259, 77%, 62%) |
| CMYK | cmyk(52.8%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.63, 46.54, -59.53) |
| CIE-LCH | lch(27.63, 75.56, 308.02°) |
| OKLab | oklab(39.71% 0.061 -0.1711) |
| OKLCH | oklch(39.71% 0.182 289.6) |
| XYZ | xyz(9.8194, 5.3218, 33.3040) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Violet Blue
#510AC9
ΔE00 5.95
Rebeccapurple
#663399
ΔE00 6.02
Ultramarine
#2000B1
ΔE00 6.69
Indigo
#4B0082
ΔE00 6.82
Purple Blue
#5D21D0
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B259F #799F25
analogous
#253C9F #4B259F #88259F
triadic
#4B259F #9F4B25 #259F4B
tetradic
#4B259F #9F253C #799F25 #259F88
square
#4B259F #9F253C #799F25 #259F88
split-complementary
#4B259F #9F8825 #3C9F25
monochromatic
#1C0E3C #34196D #4B259F #6332CF #8964DB
Accessibility & contrast
On white
10.17
#4B259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4B259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B259F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B259F | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2C4761
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4b259f; /* rgb */ color: rgb(75, 37, 159); /* oklch */ color: oklch(39.7% 0.182 289.6);
Tailwind
colors: {
custom: {
50: '#8764bc',
500: '#4b259f',
950: '#000000',
},
}SCSS
$custom: #4b259f; $custom-light: #8764bc; $custom-dark: #000000;
JSON
{
"hex": "#4b259f",
"rgb": {
"r": 75,
"g": 37,
"b": 159
},
"hsl": {
"h": 258.689,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.39705,
"c": 0.18165,
"h": 289.6
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#4B259F
secondary
#A2C05F
accent
#E542B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81