#4C114C#4C114C

#4C114C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.116 H 328.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4C114C
RGBrgb(76, 17, 76)
HSLhsl(300, 63%, 18%)
HSVhsv(300, 78%, 30%)
CMYKcmyk(0%, 77.6%, 0%, 70.2%)
CIE-LABlab(17.73, 35.28, -22.24)
CIE-LCHlch(17.73, 41.70, 327.77°)
OKLaboklab(30.61% 0.0984 -0.0616)
OKLCHoklch(30.61% 0.116 328)
XYZxyz(4.4854, 2.4595, 7.0746)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C114C #114C11
analogous
#2E114C #4C114C #4C112E
triadic
#4C114C #4C4C11 #114C4C
tetradic
#4C114C #4C2E11 #114C11 #112E4C
square
#4C114C #4C2E11 #114C11 #112E4C
split-complementary
#4C114C #2E4C11 #114C2E
monochromatic
#190619 #1A061A #4C114C #7E1C7E #B027B0

Accessibility & contrast

On white

14.08
#4C114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C114C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C114C#FFFFFF#000000##FFFFFF
##4C114C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#4F1A2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c114c;
/* rgb */ color: rgb(76, 17, 76);
/* oklch */ color: oklch(30.6% 0.116 328.0);
Tailwind
colors: {
  custom: {
    50: '#81567e',
    500: '#4c114c',
    950: '#000000',
  },
}
SCSS
$custom: #4c114c;
$custom-light: #81567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c114c",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 300,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30605,
    "c": 0.11608,
    "h": 328
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#4C114C
secondary
#338533
accent
#E64141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C114C

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

Preview Lab → · Contrast checker → · Palette generator →

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