#4C0E55#4C0E55

#4C0E55 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.128 H 322.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#4C0E55
RGBrgb(76, 14, 85)
HSLhsl(292, 72%, 19%)
HSVhsv(292, 84%, 33%)
CMYKcmyk(10.6%, 83.5%, 0%, 66.7%)
CIE-LABlab(17.95, 38.19, -28.02)
CIE-LCHlch(17.95, 47.37, 323.73°)
OKLaboklab(30.95% 0.1011 -0.0784)
OKLCHoklch(30.95% 0.128 322.2)
XYZxyz(4.7771, 2.5067, 8.8248)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E55 #17550E
analogous
#290E55 #4C0E55 #550E3B
triadic
#4C0E55 #554C0E #0E554C
tetradic
#4C0E55 #55290E #17550E #0E3B55
square
#4C0E55 #55290E #17550E #0E3B55
split-complementary
#4C0E55 #3B550E #0E5529
monochromatic
#17041A #1D0520 #4C0E55 #7B178A #AA1FBE

Accessibility & contrast

On white

13.99
#4C0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E55
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E55#FFFFFF#000000##FFFFFF
##4C0E551.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#4D1C31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c0e55;
/* rgb */ color: rgb(76, 14, 85);
/* oklch */ color: oklch(31.0% 0.128 322.2);
Tailwind
colors: {
  custom: {
    50: '#815585',
    500: '#4c0e55',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e55;
$custom-light: #815585;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e55",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 292.394,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30954,
    "c": 0.12793,
    "h": 322.2
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#4C0E55
secondary
#3C8F30
accent
#EE3950
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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