#4B266F#4B266F
#4B266F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.123 H 304.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4B266F |
|---|---|
| RGB | rgb(75, 38, 111) |
| HSL | hsl(270, 49%, 29%) |
| HSV | hsv(270, 66%, 44%) |
| CMYK | cmyk(32.4%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(23.77, 32.66, -35.80) |
| CIE-LCH | lch(23.77, 48.46, 312.38°) |
| OKLab | oklab(35.69% 0.0689 -0.1014) |
| OKLCH | oklch(35.69% 0.123 304.2) |
| XYZ | xyz(6.4634, 4.0298, 15.4732) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 6.32
Indigo
#4B0082
ΔE00 7.22
Rebeccapurple
#663399
ΔE00 8.18
Darkslateblue
#483D8B
ΔE00 8.24
Indigo (survey)
#380282
ΔE00 8.50
Plum Purple
#4E0550
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B266F #4A6F26
analogous
#27266F #4B266F #6F266F
triadic
#4B266F #6F4B26 #266F4B
tetradic
#4B266F #6F2726 #4A6F26 #266F6F
square
#4B266F #6F2726 #4A6F26 #266F6F
split-complementary
#4B266F #6F6F26 #266F27
monochromatic
#0F0817 #2C1641 #4B266F #6A369D #894DC2
Accessibility & contrast
On white
11.63
#4B266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#4B266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B266F
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B266F | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#13396D
Tritanopia (blue-blind)
#443546
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4b266f; /* rgb */ color: rgb(75, 38, 111); /* oklch */ color: oklch(35.7% 0.123 304.2);
Tailwind
colors: {
custom: {
50: '#806399',
500: '#4b266f',
950: '#000000',
},
}SCSS
$custom: #4b266f; $custom-light: #806399; $custom-dark: #000000;
JSON
{
"hex": "#4b266f",
"rgb": {
"r": 75,
"g": 38,
"b": 111
},
"hsl": {
"h": 270.411,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.35694,
"c": 0.12259,
"h": 304.2
},
"luminance": 0.0403
}Semantic roles & 50–950 ramp
primary
#4B266F
secondary
#78A24F
accent
#D94F93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E