#4C1244#4C1244

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

Color values

HEX#4C1244
RGBrgb(76, 18, 68)
HSLhsl(308, 62%, 18%)
HSVhsv(308, 76%, 30%)
CMYKcmyk(0%, 76.3%, 10.5%, 70.2%)
CIE-LABlab(17.40, 33.37, -17.26)
CIE-LCHlch(17.40, 37.57, 332.66°)
OKLaboklab(30.21% 0.0967 -0.0472)
OKLCHoklch(30.21% 0.108 334)
XYZxyz(4.2402, 2.3868, 5.7051)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1244 #124C1A
analogous
#37124C #4C1244 #4C1227
triadic
#4C1244 #444C12 #12444C
tetradic
#4C1244 #4C3712 #124C1A #12274C
square
#4C1244 #4C3712 #124C1A #12274C
split-complementary
#4C1244 #274C12 #124C37
monochromatic
#190616 #1B0618 #4C1244 #7D1E70 #AF299D

Accessibility & contrast

On white

14.22
#4C1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1244
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1244#FFFFFF#000000##FFFFFF
##4C12441.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112545
Deuteranopia (green-blind)
#252E43
Tritanopia (blue-blind)
#501729
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1244;
/* rgb */ color: rgb(76, 18, 68);
/* oklch */ color: oklch(30.2% 0.108 334.0);
Tailwind
colors: {
  custom: {
    50: '#805678',
    500: '#4c1244',
    950: '#000000',
  },
}
SCSS
$custom: #4c1244;
$custom-light: #805678;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1244",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 308.276,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.10762,
    "h": 334
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#4C1244
secondary
#358540
accent
#E55943
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1244

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

Preview Lab → · Contrast checker → · Palette generator →

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