#4C114A#4C114A

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

Color values

HEX#4C114A
RGBrgb(76, 17, 74)
HSLhsl(302, 63%, 18%)
HSVhsv(302, 78%, 30%)
CMYKcmyk(0%, 77.6%, 2.6%, 70.2%)
CIE-LABlab(17.61, 34.90, -21.07)
CIE-LCHlch(17.61, 40.76, 328.88°)
OKLaboklab(30.48% 0.0984 -0.0582)
OKLCHoklch(30.48% 0.114 329.4)
XYZxyz(4.4169, 2.4321, 6.7141)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C114A #114C13
analogous
#30114C #4C114A #4C112C
triadic
#4C114A #4A4C11 #114A4C
tetradic
#4C114A #4C3011 #114C13 #112C4C
square
#4C114A #4C3011 #114C13 #112C4C
split-complementary
#4C114A #2C4C11 #114C30
monochromatic
#190618 #1A0619 #4C114A #7E1C7B #B027AB

Accessibility & contrast

On white

14.13
#4C114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C114A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C114A#FFFFFF#000000##FFFFFF
##4C114A1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09264C
Deuteranopia (green-blind)
#222E49
Tritanopia (blue-blind)
#4F192C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c114a;
/* rgb */ color: rgb(76, 17, 74);
/* oklch */ color: oklch(30.5% 0.114 329.4);
Tailwind
colors: {
  custom: {
    50: '#80567d',
    500: '#4c114a',
    950: '#000000',
  },
}
SCSS
$custom: #4c114a;
$custom-light: #80567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c114a",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 302.034,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.11428,
    "h": 329.4
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#4C114A
secondary
#338536
accent
#E64741
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C114A

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

Preview Lab → · Contrast checker → · Palette generator →

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