#4B1D71#4B1D71

#4B1D71 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.138 H 305.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#4B1D71
RGBrgb(75, 29, 113)
HSLhsl(273, 59%, 28%)
HSVhsv(273, 74%, 44%)
CMYKcmyk(33.6%, 74.3%, 0%, 55.7%)
CIE-LABlab(22.18, 37.99, -39.65)
CIE-LCHlch(22.18, 54.91, 313.77°)
OKLaboklab(34.61% 0.0796 -0.1127)
OKLCHoklch(34.61% 0.138 305.2)
XYZxyz(6.3210, 3.5669, 15.9751)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D71 #43711D
analogous
#211D71 #4B1D71 #711D6D
triadic
#4B1D71 #714B1D #1D714B
tetradic
#4B1D71 #71211D #43711D #1D6D71
square
#4B1D71 #71211D #43711D #1D6D71
split-complementary
#4B1D71 #6D711D #1D7121
monochromatic
#100618 #2B1140 #4B1D71 #6B29A2 #8B3CCD

Accessibility & contrast

On white

12.26
#4B1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4B1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D71
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D71#FFFFFF#000000##FFFFFF
##4B1D711.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#443145
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b1d71;
/* rgb */ color: rgb(75, 29, 113);
/* oklch */ color: oklch(34.6% 0.138 305.2);
Tailwind
colors: {
  custom: {
    50: '#815d9a',
    500: '#4b1d71',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d71;
$custom-light: #815d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d71",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 272.857,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34605,
    "c": 0.13796,
    "h": 305.2
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#4B1D71
secondary
#70A544
accent
#E2458C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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