#4C1944#4C1944

#4C1944 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.097 H 334.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4C1944
RGBrgb(76, 25, 68)
HSLhsl(309, 50%, 20%)
HSVhsv(309, 67%, 30%)
CMYKcmyk(0%, 67.1%, 10.5%, 70.2%)
CIE-LABlab(18.58, 30.08, -15.41)
CIE-LCHlch(18.58, 33.80, 332.88°)
OKLaboklab(31.07% 0.0871 -0.042)
OKLCHoklch(31.07% 0.097 334.3)
XYZxyz(4.3715, 2.6495, 5.7489)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1944 #194C21
analogous
#3B194C #4C1944 #4C192A
triadic
#4C1944 #444C19 #19444C
tetradic
#4C1944 #4C3B19 #194C21 #192A4C
square
#4C1944 #4C3B19 #194C21 #192A4C
split-complementary
#4C1944 #2A4C19 #194C3B
monochromatic
#170815 #1E0A1B #4C1944 #7A286D #A83796

Accessibility & contrast

On white

13.73
#4C1944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1944
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1944#FFFFFF#000000##FFFFFF
##4C19441.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#293043
Tritanopia (blue-blind)
#501C2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1944;
/* rgb */ color: rgb(76, 25, 68);
/* oklch */ color: oklch(31.1% 0.097 334.3);
Tailwind
colors: {
  custom: {
    50: '#805978',
    500: '#4c1944',
    950: '#000000',
  },
}
SCSS
$custom: #4c1944;
$custom-light: #805978;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1944",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 68
  },
  "hsl": {
    "h": 309.412,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.09668,
    "h": 334.3
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#4C1944
secondary
#3E8249
accent
#DA644E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4C1944

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

Preview Lab → · Contrast checker → · Palette generator →

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