#4C114D#4C114D

#4C114D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.117 H 327.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4C114D
RGBrgb(76, 17, 77)
HSLhsl(299, 64%, 18%)
HSVhsv(299, 78%, 30%)
CMYKcmyk(1.3%, 77.9%, 0%, 69.8%)
CIE-LABlab(17.80, 35.47, -22.82)
CIE-LCHlch(17.80, 42.18, 327.24°)
OKLaboklab(30.67% 0.0984 -0.0633)
OKLCHoklch(30.67% 0.117 327.3)
XYZxyz(4.5204, 2.4735, 7.2591)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C114D #124D11
analogous
#2E114D #4C114D #4D1130
triadic
#4C114D #4D4C11 #114D4C
tetradic
#4C114D #4D2E11 #124D11 #11304D
square
#4C114D #4D2E11 #124D11 #11304D
split-complementary
#4C114D #304D11 #114D2E
monochromatic
#190619 #1B061B #4C114D #7D1C7F #AF27B1

Accessibility & contrast

On white

14.05
#4C114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C114D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C114D#FFFFFF#000000##FFFFFF
##4C114D1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06274F
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#4E1A2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c114d;
/* rgb */ color: rgb(76, 17, 77);
/* oklch */ color: oklch(30.7% 0.117 327.3);
Tailwind
colors: {
  custom: {
    50: '#81567f',
    500: '#4c114d',
    950: '#000000',
  },
}
SCSS
$custom: #4c114d;
$custom-light: #81567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c114d",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 299,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30672,
    "c": 0.117,
    "h": 327.3
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#4C114D
secondary
#358633
accent
#E74144
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C114D

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

Preview Lab → · Contrast checker → · Palette generator →

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