#4B1E71#4B1E71

#4B1E71 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.137 H 305.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4B1E71
RGBrgb(75, 30, 113)
HSLhsl(273, 58%, 28%)
HSVhsv(273, 73%, 44%)
CMYKcmyk(33.6%, 73.5%, 0%, 55.7%)
CIE-LABlab(22.36, 37.49, -39.36)
CIE-LCHlch(22.36, 54.36, 313.60°)
OKLaboklab(34.73% 0.0785 -0.1118)
OKLCHoklch(34.73% 0.137 305)
XYZxyz(6.3459, 3.6167, 15.9834)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E71 #44711E
analogous
#211E71 #4B1E71 #711E6D
triadic
#4B1E71 #714B1E #1E714B
tetradic
#4B1E71 #71211E #44711E #1E6D71
square
#4B1E71 #71211E #44711E #1E6D71
split-complementary
#4B1E71 #6D711E #1E7121
monochromatic
#100618 #2B1141 #4B1E71 #6B2BA1 #8B3ECC

Accessibility & contrast

On white

12.19
#4B1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4B1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E71
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E71#FFFFFF#000000##FFFFFF
##4B1E711.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1e71;
/* rgb */ color: rgb(75, 30, 113);
/* oklch */ color: oklch(34.7% 0.137 305.0);
Tailwind
colors: {
  custom: {
    50: '#815e9a',
    500: '#4b1e71',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e71;
$custom-light: #815e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e71",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 272.53,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.13663,
    "h": 305
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#4B1E71
secondary
#71A546
accent
#E1478D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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