#4B1152#4B1152

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

Color values

HEX#4B1152
RGBrgb(75, 17, 82)
HSLhsl(294, 66%, 19%)
HSVhsv(294, 79%, 32%)
CMYKcmyk(8.5%, 79.3%, 0%, 67.8%)
CIE-LABlab(17.95, 36.22, -26.00)
CIE-LCHlch(17.95, 44.59, 324.32°)
OKLaboklab(30.85% 0.097 -0.0726)
OKLCHoklch(30.85% 0.121 323.2)
XYZxyz(4.6249, 2.5062, 8.2212)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1152 #185211
analogous
#2A1152 #4B1152 #521139
triadic
#4B1152 #524B11 #11524B
tetradic
#4B1152 #522A11 #185211 #113952
square
#4B1152 #522A11 #185211 #113952
split-complementary
#4B1152 #395211 #11522A
monochromatic
#170519 #1D061F #4B1152 #791C85 #A826B7

Accessibility & contrast

On white

13.99
#4B1152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1152
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1152#FFFFFF#000000##FFFFFF
##4B11521.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#1C2E50
Tritanopia (blue-blind)
#4C1D30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1152;
/* rgb */ color: rgb(75, 17, 82);
/* oklch */ color: oklch(30.8% 0.121 323.2);
Tailwind
colors: {
  custom: {
    50: '#805683',
    500: '#4b1152',
    950: '#000000',
  },
}
SCSS
$custom: #4b1152;
$custom-light: #805683;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1152",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 293.538,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.12112,
    "h": 323.2
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#4B1152
secondary
#3D8B34
accent
#E93F51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B1152

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

Preview Lab → · Contrast checker → · Palette generator →

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