#4C0E48#4C0E48

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

Color values

HEX#4C0E48
RGBrgb(76, 14, 72)
HSLhsl(304, 69%, 18%)
HSVhsv(304, 82%, 30%)
CMYKcmyk(0%, 81.6%, 5.3%, 70.2%)
CIE-LABlab(17.08, 35.68, -20.53)
CIE-LCHlch(17.08, 41.17, 330.09°)
OKLaboklab(30.05% 0.1016 -0.0566)
OKLCHoklch(30.05% 0.116 330.9)
XYZxyz(4.3072, 2.3188, 6.3504)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E48 #0E4C12
analogous
#310E4C #4C0E48 #4C0E29
triadic
#4C0E48 #484C0E #0E484C
tetradic
#4C0E48 #4C310E #0E4C12 #0E294C
square
#4C0E48 #4C310E #0E4C12 #0E294C
split-complementary
#4C0E48 #294C0E #0E4C31
monochromatic
#1A0518 #1A0518 #4C0E48 #801879 #B321AA

Accessibility & contrast

On white

14.35
#4C0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E48
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E48#FFFFFF#000000##FFFFFF
##4C0E481.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08254A
Deuteranopia (green-blind)
#212D46
Tritanopia (blue-blind)
#4F162A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0e48;
/* rgb */ color: rgb(76, 14, 72);
/* oklch */ color: oklch(30.1% 0.116 330.9);
Tailwind
colors: {
  custom: {
    50: '#81547b',
    500: '#4c0e48',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e48;
$custom-light: #81547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e48",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 303.871,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.11632,
    "h": 330.9
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#4C0E48
secondary
#2F8735
accent
#EC473C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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