#4C1149#4C1149

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

Color values

HEX#4C1149
RGBrgb(76, 17, 73)
HSLhsl(303, 63%, 18%)
HSVhsv(303, 78%, 30%)
CMYKcmyk(0%, 77.6%, 3.9%, 70.2%)
CIE-LABlab(17.55, 34.71, -20.48)
CIE-LCHlch(17.55, 40.30, 329.46°)
OKLaboklab(30.41% 0.0983 -0.0565)
OKLCHoklch(30.41% 0.113 330.1)
XYZxyz(4.3835, 2.4188, 6.5380)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1149 #114C14
analogous
#31114C #4C1149 #4C112B
triadic
#4C1149 #494C11 #11494C
tetradic
#4C1149 #4C3111 #114C14 #112B4C
square
#4C1149 #4C3111 #114C14 #112B4C
split-complementary
#4C1149 #2B4C11 #114C31
monochromatic
#190618 #1A0619 #4C1149 #7E1C79 #B027A9

Accessibility & contrast

On white

14.15
#4C1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1149
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1149#FFFFFF#000000##FFFFFF
##4C11491.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264B
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#4F182B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1149;
/* rgb */ color: rgb(76, 17, 73);
/* oklch */ color: oklch(30.4% 0.113 330.1);
Tailwind
colors: {
  custom: {
    50: '#80567c',
    500: '#4c1149',
    950: '#000000',
  },
}
SCSS
$custom: #4c1149;
$custom-light: #80567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1149",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 303.051,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3041,
    "c": 0.11338,
    "h": 330.1
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#4C1149
secondary
#338538
accent
#E64A41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1149

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

Preview Lab → · Contrast checker → · Palette generator →

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