#4C2C4E#4C2C4E

#4C2C4E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.7% C 0.071 H 324.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#4C2C4E
RGBrgb(76, 44, 78)
HSLhsl(296, 28%, 24%)
HSVhsv(296, 44%, 31%)
CMYKcmyk(2.6%, 43.6%, 0%, 69.4%)
CIE-LABlab(23.30, 21.11, -14.88)
CIE-LCHlch(23.30, 25.82, 324.82°)
OKLaboklab(34.73% 0.0578 -0.0407)
OKLCHoklch(34.73% 0.071 324.9)
XYZxyz(5.2562, 3.8881, 7.6799)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2C4E #2E4E2C
analogous
#3B2C4E #4C2C4E #4E2C3F
triadic
#4C2C4E #4E4C2C #2C4E4C
tetradic
#4C2C4E #4E3B2C #2E4E2C #2C3F4E
square
#4C2C4E #4E3B2C #2E4E2C #2C3F4E
split-complementary
#4C2C4E #3F4E2C #2C4E3B
monochromatic
#130B14 #261627 #4C2C4E #724275 #98589C

Accessibility & contrast

On white

11.81
#4C2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4C2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2C4E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2C4E#FFFFFF#000000##FFFFFF
##4C2C4E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#4D3039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4c2c4e;
/* rgb */ color: rgb(76, 44, 78);
/* oklch */ color: oklch(34.7% 0.071 324.9);
Tailwind
colors: {
  custom: {
    50: '#7f667f',
    500: '#4c2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #4c2c4e;
$custom-light: #7f667f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2c4e",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 296.471,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34732,
    "c": 0.07066,
    "h": 324.9
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#4C2C4E
secondary
#588056
accent
#C46469
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4C2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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