#4C1045#4C1045

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

Color values

HEX#4C1045
RGBrgb(76, 16, 69)
HSLhsl(307, 65%, 18%)
HSVhsv(307, 79%, 30%)
CMYKcmyk(0%, 78.9%, 9.2%, 70.2%)
CIE-LABlab(17.17, 34.37, -18.32)
CIE-LCHlch(17.17, 38.95, 331.95°)
OKLaboklab(30.06% 0.0992 -0.0502)
OKLCHoklch(30.06% 0.111 333.2)
XYZxyz(4.2400, 2.3371, 5.8569)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1045 #104C17
analogous
#35104C #4C1045 #4C1027
triadic
#4C1045 #454C10 #10454C
tetradic
#4C1045 #4C3510 #104C17 #10274C
square
#4C1045 #4C3510 #104C17 #10274C
split-complementary
#4C1045 #274C10 #104C35
monochromatic
#190517 #190517 #4C1045 #7F1B73 #B125A1

Accessibility & contrast

On white

14.31
#4C1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1045
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1045#FFFFFF#000000##FFFFFF
##4C10451.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#242D44
Tritanopia (blue-blind)
#501629
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1045;
/* rgb */ color: rgb(76, 16, 69);
/* oklch */ color: oklch(30.1% 0.111 333.2);
Tailwind
colors: {
  custom: {
    50: '#815579',
    500: '#4c1045',
    950: '#000000',
  },
}
SCSS
$custom: #4c1045;
$custom-light: #815579;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1045",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 307,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30058,
    "c": 0.11122,
    "h": 333.2
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#4C1045
secondary
#32863C
accent
#E85340
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1045

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

Preview Lab → · Contrast checker → · Palette generator →

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