#4C2E4E#4C2E4E

#4C2E4E is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.1% C 0.067 H 324.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4C2E4E
RGBrgb(76, 46, 78)
HSLhsl(296, 26%, 24%)
HSVhsv(296, 41%, 31%)
CMYKcmyk(2.6%, 41%, 0%, 69.4%)
CIE-LABlab(23.81, 19.83, -14.09)
CIE-LCHlch(23.81, 24.33, 324.60°)
OKLaboklab(35.11% 0.0543 -0.0385)
OKLCHoklch(35.11% 0.067 324.7)
XYZxyz(5.3325, 4.0408, 7.7053)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2E4E #304E2E
analogous
#3C2E4E #4C2E4E #4E2E40
triadic
#4C2E4E #4E4C2E #2E4E4C
tetradic
#4C2E4E #4E3C2E #304E2E #2E404E
square
#4C2E4E #4E3C2E #304E2E #2E404E
split-complementary
#4C2E4E #404E2E #2E4E3C
monochromatic
#130B13 #261728 #4C2E4E #724574 #975B9B

Accessibility & contrast

On white

11.61
#4C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4C2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2E4E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2E4E#FFFFFF#000000##FFFFFF
##4C2E4E1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#333A4D
Tritanopia (blue-blind)
#4D313A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c2e4e;
/* rgb */ color: rgb(76, 46, 78);
/* oklch */ color: oklch(35.1% 0.067 324.7);
Tailwind
colors: {
  custom: {
    50: '#7f677f',
    500: '#4c2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4c2e4e;
$custom-light: #7f677f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2e4e",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 296.25,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.06651,
    "h": 324.7
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#4C2E4E
secondary
#5B7F58
accent
#C2666B
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4C2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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