#4B269E#4B269E
#4B269E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.179 H 289.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4B269E |
|---|---|
| RGB | rgb(75, 38, 158) |
| HSL | hsl(259, 61%, 38%) |
| HSV | hsv(259, 76%, 62%) |
| CMYK | cmyk(52.5%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(27.71, 45.77, -58.79) |
| CIE-LCH | lch(27.71, 74.50, 307.90°) |
| OKLab | oklab(39.73% 0.0605 -0.1689) |
| OKLCH | oklch(39.73% 0.179 289.7) |
| XYZ | xyz(9.7645, 5.3503, 32.8593) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.06
Rebeccapurple
#663399
ΔE00 5.90
Violet Blue
#510AC9
ΔE00 6.16
Indigo
#4B0082
ΔE00 6.88
Ultramarine
#2000B1
ΔE00 6.88
Purple Blue
#5D21D0
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B269E #799E26
analogous
#263D9E #4B269E #87269E
triadic
#4B269E #9E4B26 #269E4B
tetradic
#4B269E #9E263D #799E26 #269E87
square
#4B269E #9E263D #799E26 #269E87
split-complementary
#4B269E #9E8726 #3D9E26
monochromatic
#1C0E3B #341A6D #4B269E #6333CE #8965DA
Accessibility & contrast
On white
10.14
#4B269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4B269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B269E
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B269E | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#2D4760
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4b269e; /* rgb */ color: rgb(75, 38, 158); /* oklch */ color: oklch(39.7% 0.179 289.7);
Tailwind
colors: {
custom: {
50: '#8664bc',
500: '#4b269e',
950: '#000000',
},
}SCSS
$custom: #4b269e; $custom-light: #8664bc; $custom-dark: #000000;
JSON
{
"hex": "#4b269e",
"rgb": {
"r": 75,
"g": 38,
"b": 158
},
"hsl": {
"h": 258.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.39731,
"c": 0.17945,
"h": 289.7
},
"luminance": 0.05351
}Semantic roles & 50–950 ramp
primary
#4B269E
secondary
#A2C060
accent
#E443B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81