#4B1149#4B1149

#4B1149 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.113 H 329.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4B1149
RGBrgb(75, 17, 73)
HSLhsl(302, 63%, 18%)
HSVhsv(302, 77%, 29%)
CMYKcmyk(0%, 77.3%, 2.7%, 70.6%)
CIE-LABlab(17.36, 34.44, -20.79)
CIE-LCHlch(17.36, 40.23, 328.88°)
OKLaboklab(30.24% 0.0971 -0.0574)
OKLCHoklch(30.24% 0.113 329.4)
XYZxyz(4.3047, 2.3781, 6.5343)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1149 #114B13
analogous
#30114B #4B1149 #4B112C
triadic
#4B1149 #494B11 #11494B
tetradic
#4B1149 #4B3011 #114B13 #112C4B
square
#4B1149 #4B3011 #114B13 #112C4B
split-complementary
#4B1149 #2C4B11 #114B30
monochromatic
#190618 #190618 #4B1149 #7D1C7A #AF28AA

Accessibility & contrast

On white

14.23
#4B1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B1149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1149
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1149#FFFFFF#000000##FFFFFF
##4B11491.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264B
Deuteranopia (green-blind)
#212D48
Tritanopia (blue-blind)
#4E192B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b1149;
/* rgb */ color: rgb(75, 17, 73);
/* oklch */ color: oklch(30.2% 0.113 329.4);
Tailwind
colors: {
  custom: {
    50: '#80567c',
    500: '#4b1149',
    950: '#000000',
  },
}
SCSS
$custom: #4b1149;
$custom-light: #80567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1149",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 302.069,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30238,
    "c": 0.11278,
    "h": 329.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#4B1149
secondary
#338436
accent
#E64742
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B1149

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

Preview Lab → · Contrast checker → · Palette generator →

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