#4C0E45#4C0E45

#4C0E45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.114 H 333.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4C0E45
RGBrgb(76, 14, 69)
HSLhsl(307, 69%, 18%)
HSVhsv(307, 82%, 30%)
CMYKcmyk(0%, 81.6%, 9.2%, 70.2%)
CIE-LABlab(16.90, 35.14, -18.74)
CIE-LCHlch(16.90, 39.83, 331.93°)
OKLaboklab(29.86% 0.1015 -0.0514)
OKLCHoklch(29.86% 0.114 333.1)
XYZxyz(4.2117, 2.2806, 5.8474)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E45 #0E4C15
analogous
#340E4C #4C0E45 #4C0E26
triadic
#4C0E45 #454C0E #0E454C
tetradic
#4C0E45 #4C340E #0E4C15 #0E264C
square
#4C0E45 #4C340E #0E4C15 #0E264C
split-complementary
#4C0E45 #264C0E #0E4C34
monochromatic
#1A0517 #1A0517 #4C0E45 #801874 #B321A3

Accessibility & contrast

On white

14.42
#4C0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C0E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E45
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E45#FFFFFF#000000##FFFFFF
##4C0E451.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2446
Deuteranopia (green-blind)
#232D44
Tritanopia (blue-blind)
#501428
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0e45;
/* rgb */ color: rgb(76, 14, 69);
/* oklch */ color: oklch(29.9% 0.114 333.1);
Tailwind
colors: {
  custom: {
    50: '#815479',
    500: '#4c0e45',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e45;
$custom-light: #815479;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e45",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 306.774,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29864,
    "c": 0.11377,
    "h": 333.1
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#4C0E45
secondary
#2F8739
accent
#EC503C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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