#4B1371#4B1371

#4B1371 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.150 H 306.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4B1371
RGBrgb(75, 19, 113)
HSLhsl(276, 71%, 26%)
HSVhsv(276, 83%, 44%)
CMYKcmyk(33.6%, 83.2%, 0%, 55.7%)
CIE-LABlab(20.65, 42.37, -42.14)
CIE-LCHlch(20.65, 59.76, 315.15°)
OKLaboklab(33.52% 0.0894 -0.1199)
OKLCHoklch(33.52% 0.15 306.7)
XYZxyz(6.1145, 3.1539, 15.9062)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1371 #397113
analogous
#1C1371 #4B1371 #711368
triadic
#4B1371 #714B13 #13714B
tetradic
#4B1371 #711C13 #397113 #136871
square
#4B1371 #711C13 #397113 #136871
split-complementary
#4B1371 #687113 #13711C
monochromatic
#11041A #280A3D #4B1371 #6E1CA5 #9125DA

Accessibility & contrast

On white

12.88
#4B1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1371
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1371#FFFFFF#000000##FFFFFF
##4B13711.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#442C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1371;
/* rgb */ color: rgb(75, 19, 113);
/* oklch */ color: oklch(33.5% 0.150 306.7);
Tailwind
colors: {
  custom: {
    50: '#82599b',
    500: '#4b1371',
    950: '#000000',
  },
}
SCSS
$custom: #4b1371;
$custom-light: #82599b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1371",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 275.745,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33524,
    "c": 0.14962,
    "h": 306.7
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#4B1371
secondary
#65A838
accent
#EE3A83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1371

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

Preview Lab → · Contrast checker → · Palette generator →

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