#4C0F45#4C0F45

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

Color values

HEX#4C0F45
RGBrgb(76, 15, 69)
HSLhsl(307, 67%, 18%)
HSVhsv(307, 80%, 30%)
CMYKcmyk(0%, 80.3%, 9.2%, 70.2%)
CIE-LABlab(17.03, 34.76, -18.53)
CIE-LCHlch(17.03, 39.40, 331.94°)
OKLaboklab(29.96% 0.1004 -0.0508)
OKLCHoklch(29.96% 0.113 333.1)
XYZxyz(4.2255, 2.3082, 5.8520)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F45 #0F4C16
analogous
#340F4C #4C0F45 #4C0F26
triadic
#4C0F45 #454C0F #0F454C
tetradic
#4C0F45 #4C340F #0F4C16 #0F264C
square
#4C0F45 #4C340F #0F4C16 #0F264C
split-complementary
#4C0F45 #264C0F #0F4C34
monochromatic
#1A0517 #1A0517 #4C0F45 #7F1973 #B223A2

Accessibility & contrast

On white

14.37
#4C0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F45
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F45#FFFFFF#000000##FFFFFF
##4C0F451.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0f45;
/* rgb */ color: rgb(76, 15, 69);
/* oklch */ color: oklch(30.0% 0.113 333.1);
Tailwind
colors: {
  custom: {
    50: '#815579',
    500: '#4c0f45',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f45;
$custom-light: #815579;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f45",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 306.885,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29959,
    "c": 0.11251,
    "h": 333.1
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#4C0F45
secondary
#31863A
accent
#EA523E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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