#4C0E42#4C0E42

#4C0E42 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.111 H 335.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4C0E42
RGBrgb(76, 14, 66)
HSLhsl(310, 69%, 18%)
HSVhsv(310, 82%, 30%)
CMYKcmyk(0%, 81.6%, 13.2%, 70.2%)
CIE-LABlab(16.72, 34.62, -16.93)
CIE-LCHlch(16.72, 38.53, 333.94°)
OKLaboklab(29.68% 0.1012 -0.0462)
OKLCHoklch(29.68% 0.111 335.5)
XYZxyz(4.1210, 2.2443, 5.3694)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E42 #0E4C18
analogous
#370E4C #4C0E42 #4C0E23
triadic
#4C0E42 #424C0E #0E424C
tetradic
#4C0E42 #4C370E #0E4C18 #0E234C
square
#4C0E42 #4C370E #0E4C18 #0E234C
split-complementary
#4C0E42 #234C0E #0E4C37
monochromatic
#1A0516 #1A0516 #4C0E42 #80186F #B3219C

Accessibility & contrast

On white

14.49
#4C0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E42
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E42#FFFFFF#000000##FFFFFF
##4C0E421.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2343
Deuteranopia (green-blind)
#242D41
Tritanopia (blue-blind)
#501327
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0e42;
/* rgb */ color: rgb(76, 14, 66);
/* oklch */ color: oklch(29.7% 0.111 335.5);
Tailwind
colors: {
  custom: {
    50: '#815476',
    500: '#4c0e42',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e42;
$custom-light: #815476;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e42",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 309.677,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2968,
    "c": 0.11128,
    "h": 335.5
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#4C0E42
secondary
#2F873D
accent
#EC583C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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