#4B1571#4B1571

#4B1571 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.148 H 306.5°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4B1571
RGBrgb(75, 21, 113)
HSLhsl(275, 69%, 26%)
HSVhsv(275, 81%, 44%)
CMYKcmyk(33.6%, 81.4%, 0%, 55.7%)
CIE-LABlab(20.92, 41.59, -41.70)
CIE-LCHlch(20.92, 58.89, 314.92°)
OKLaboklab(33.71% 0.0877 -0.1187)
OKLCHoklch(33.71% 0.148 306.5)
XYZxyz(6.1498, 3.2245, 15.9180)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1571 #3B7115
analogous
#1D1571 #4B1571 #711569
triadic
#4B1571 #714B15 #15714B
tetradic
#4B1571 #711D15 #3B7115 #156971
square
#4B1571 #711D15 #3B7115 #156971
split-complementary
#4B1571 #697115 #15711D
monochromatic
#11051A #290B3D #4B1571 #6D1FA5 #8F29D7

Accessibility & contrast

On white

12.77
#4B1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1571
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1571#FFFFFF#000000##FFFFFF
##4B15711.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#442D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1571;
/* rgb */ color: rgb(75, 21, 113);
/* oklch */ color: oklch(33.7% 0.148 306.5);
Tailwind
colors: {
  custom: {
    50: '#82599b',
    500: '#4b1571',
    950: '#000000',
  },
}
SCSS
$custom: #4b1571;
$custom-light: #82599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1571",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 275.217,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.14754,
    "h": 306.5
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#4B1571
secondary
#67A73B
accent
#EB3C85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1571

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4B1571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva