#4B1151#4B1151

#4B1151 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.120 H 323.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#4B1151
RGBrgb(75, 17, 81)
HSLhsl(294, 65%, 19%)
HSVhsv(294, 79%, 32%)
CMYKcmyk(7.4%, 79%, 0%, 68.2%)
CIE-LABlab(17.88, 36.02, -25.43)
CIE-LCHlch(17.88, 44.09, 324.77°)
OKLaboklab(30.78% 0.097 -0.0709)
OKLCHoklch(30.78% 0.12 323.8)
XYZxyz(4.5872, 2.4911, 8.0222)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1151 #175111
analogous
#2B1151 #4B1151 #511137
triadic
#4B1151 #514B11 #11514B
tetradic
#4B1151 #512B11 #175111 #113751
square
#4B1151 #512B11 #175111 #113751
split-complementary
#4B1151 #375111 #11512B
monochromatic
#170519 #1C061E #4B1151 #7A1C84 #A926B6

Accessibility & contrast

On white

14.02
#4B1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4B1151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1151
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1151#FFFFFF#000000##FFFFFF
##4B11511.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1C2E4F
Tritanopia (blue-blind)
#4C1C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1151;
/* rgb */ color: rgb(75, 17, 81);
/* oklch */ color: oklch(30.8% 0.120 323.8);
Tailwind
colors: {
  custom: {
    50: '#805682',
    500: '#4b1151',
    950: '#000000',
  },
}
SCSS
$custom: #4b1151;
$custom-light: #805682;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1151",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 294.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.12018,
    "h": 323.8
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#4B1151
secondary
#3C8A34
accent
#E8404F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B1151

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

Preview Lab → · Contrast checker → · Palette generator →

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