#4C0E4D#4C0E4D

#4C0E4D is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.121 H 327.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#4C0E4D
RGBrgb(76, 14, 77)
HSLhsl(299, 69%, 18%)
HSVhsv(299, 82%, 30%)
CMYKcmyk(1.3%, 81.8%, 0%, 69.8%)
CIE-LABlab(17.40, 36.62, -23.46)
CIE-LCHlch(17.40, 43.49, 327.35°)
OKLaboklab(30.39% 0.1016 -0.0651)
OKLCHoklch(30.39% 0.121 327.4)
XYZxyz(4.4770, 2.3867, 7.2446)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E4D #0F4D0E
analogous
#2D0E4D #4C0E4D #4D0E2E
triadic
#4C0E4D #4D4C0E #0E4D4C
tetradic
#4C0E4D #4D2D0E #0F4D0E #0E2E4D
square
#4C0E4D #4D2D0E #0F4D0E #0E2E4D
split-complementary
#4C0E4D #2E4D0E #0E4D2D
monochromatic
#1A051A #1A051A #4C0E4D #7F1781 #B221B5

Accessibility & contrast

On white

14.22
#4C0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E4D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E4D#FFFFFF#000000##FFFFFF
##4C0E4D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01264F
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#4E182D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0e4d;
/* rgb */ color: rgb(76, 14, 77);
/* oklch */ color: oklch(30.4% 0.121 327.4);
Tailwind
colors: {
  custom: {
    50: '#81557f',
    500: '#4c0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e4d;
$custom-light: #81557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e4d",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 299.048,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30386,
    "c": 0.12068,
    "h": 327.4
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#4C0E4D
secondary
#31882F
accent
#EC3C3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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