#4B1FBC#4B1FBC
#4B1FBC is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.219 H 284.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4B1FBC |
|---|---|
| RGB | rgb(75, 31, 188) |
| HSL | hsl(257, 72%, 43%) |
| HSV | hsv(257, 84%, 74%) |
| CMYK | cmyk(60.1%, 83.5%, 0%, 26.3%) |
| CIE-LAB | lab(29.68, 57.15, -73.55) |
| CIE-LCH | lch(29.68, 93.15, 307.85°) |
| OKLab | oklab(42% 0.0555 -0.212) |
| OKLCH | oklch(42% 0.219 284.7) |
| XYZ | xyz(12.4660, 6.1059, 48.0889) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 2.36
Indigo Blue
#3A18B1
ΔE00 2.90
Purple Blue
#5D21D0
ΔE00 3.71
Ultramarine Blue
#1805DB
ΔE00 4.92
True Blue
#010FCC
ΔE00 4.96
Mediumblue
#0000CD
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B1FBC #90BC1F
analogous
#1F42BC #4B1FBC #991FBC
triadic
#4B1FBC #BC4B1F #1FBC4B
tetradic
#4B1FBC #BC1F42 #90BC1F #1FBC99
square
#4B1FBC #BC1F42 #90BC1F #1FBC99
split-complementary
#4B1FBC #BC991F #42BC1F
monochromatic
#210E53 #361687 #4B1FBC #683ADE #906EE7
Accessibility & contrast
On white
9.45
#4B1FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#4B1FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B1FBC
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B1FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B1FBC | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4b1fbc; /* rgb */ color: rgb(75, 31, 188); /* oklch */ color: oklch(42.0% 0.219 284.7);
Tailwind
colors: {
custom: {
50: '#8c63d2',
500: '#4b1fbc',
950: '#000000',
},
}SCSS
$custom: #4b1fbc; $custom-light: #8c63d2; $custom-dark: #000000;
JSON
{
"hex": "#4b1fbc",
"rgb": {
"r": 75,
"g": 31,
"b": 188
},
"hsl": {
"h": 256.815,
"s": 71.689,
"l": 42.941
},
"oklch": {
"l": 0.42003,
"c": 0.21914,
"h": 284.7
},
"luminance": 0.06107
}Semantic roles & 50–950 ramp
primary
#4B1FBC
secondary
#B1CD69
accent
#EE39BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83