#4C1048#4C1048

#4C1048 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.114 H 330.9°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4C1048
RGBrgb(76, 16, 72)
HSLhsl(304, 65%, 18%)
HSVhsv(304, 79%, 30%)
CMYKcmyk(0%, 78.9%, 5.3%, 70.2%)
CIE-LABlab(17.34, 34.92, -20.11)
CIE-LCHlch(17.34, 40.30, 330.07°)
OKLaboklab(30.25% 0.0994 -0.0554)
OKLCHoklch(30.25% 0.114 330.9)
XYZxyz(4.3355, 2.3753, 6.3598)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1048 #104C14
analogous
#32104C #4C1048 #4C102A
triadic
#4C1048 #484C10 #10484C
tetradic
#4C1048 #4C3210 #104C14 #102A4C
square
#4C1048 #4C3210 #104C14 #102A4C
split-complementary
#4C1048 #2A4C10 #104C32
monochromatic
#190518 #190518 #4C1048 #7F1B78 #B125A8

Accessibility & contrast

On white

14.24
#4C1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1048
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1048#FFFFFF#000000##FFFFFF
##4C10481.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A254A
Deuteranopia (green-blind)
#222E47
Tritanopia (blue-blind)
#4F172A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1048;
/* rgb */ color: rgb(76, 16, 72);
/* oklch */ color: oklch(30.2% 0.114 330.9);
Tailwind
colors: {
  custom: {
    50: '#81557b',
    500: '#4c1048',
    950: '#000000',
  },
}
SCSS
$custom: #4c1048;
$custom-light: #81557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1048",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 304,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30245,
    "c": 0.11381,
    "h": 330.9
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#4C1048
secondary
#328638
accent
#E84B40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1048

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

Preview Lab → · Contrast checker → · Palette generator →

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