#4C1160#4C1160

#4C1160 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.135 H 315.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4C1160
RGBrgb(76, 17, 96)
HSLhsl(285, 70%, 22%)
HSVhsv(285, 82%, 38%)
CMYKcmyk(20.8%, 82.3%, 0%, 62.4%)
CIE-LABlab(19.15, 39.42, -33.45)
CIE-LCHlch(19.15, 51.70, 319.69°)
OKLaboklab(32.06% 0.0967 -0.0943)
OKLCHoklch(32.06% 0.135 315.7)
XYZxyz(5.2919, 2.7821, 11.3223)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1160 #256011
analogous
#241160 #4C1160 #60114D
triadic
#4C1160 #604C11 #11604C
tetradic
#4C1160 #602411 #256011 #114D60
square
#4C1160 #602411 #256011 #114D60
split-complementary
#4C1160 #4D6011 #116024
monochromatic
#15051A #23082C #4C1160 #751A94 #9E23C8

Accessibility & contrast

On white

13.49
#4C1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4C1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1160
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1160#FFFFFF#000000##FFFFFF
##4C11601.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#4A2338
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1160;
/* rgb */ color: rgb(76, 17, 96);
/* oklch */ color: oklch(32.1% 0.135 315.7);
Tailwind
colors: {
  custom: {
    50: '#81578e',
    500: '#4c1160',
    950: '#000000',
  },
}
SCSS
$custom: #4c1160;
$custom-light: #81578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1160",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 284.81,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32064,
    "c": 0.13506,
    "h": 315.7
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#4C1160
secondary
#4E9934
accent
#ED3B68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C1160

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

Preview Lab → · Contrast checker → · Palette generator →

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