#4C0E49#4C0E49

#4C0E49 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.117 H 330.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4C0E49
RGBrgb(76, 14, 73)
HSLhsl(303, 69%, 18%)
HSVhsv(303, 82%, 30%)
CMYKcmyk(0%, 81.6%, 3.9%, 70.2%)
CIE-LABlab(17.14, 35.86, -21.12)
CIE-LCHlch(17.14, 41.62, 329.51°)
OKLaboklab(30.12% 0.1016 -0.0583)
OKLCHoklch(30.12% 0.117 330.2)
XYZxyz(4.3401, 2.3320, 6.5236)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E49 #0E4C11
analogous
#300E4C #4C0E49 #4C0E2A
triadic
#4C0E49 #494C0E #0E494C
tetradic
#4C0E49 #4C300E #0E4C11 #0E2A4C
square
#4C0E49 #4C300E #0E4C11 #0E2A4C
split-complementary
#4C0E49 #2A4C0E #0E4C30
monochromatic
#1A0519 #1A0519 #4C0E49 #80187B #B321AC

Accessibility & contrast

On white

14.32
#4C0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C0E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E49
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E49#FFFFFF#000000##FFFFFF
##4C0E491.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254B
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#4F162A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0e49;
/* rgb */ color: rgb(76, 14, 73);
/* oklch */ color: oklch(30.1% 0.117 330.2);
Tailwind
colors: {
  custom: {
    50: '#81547c',
    500: '#4c0e49',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e49;
$custom-light: #81547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e49",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 302.903,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.11718,
    "h": 330.2
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#4C0E49
secondary
#2F8733
accent
#EC453C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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