#4E2D4A#4E2D4A

#4E2D4A is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.0% C 0.066 H 331.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2D4A
RGBrgb(78, 45, 74)
HSLhsl(307, 27%, 24%)
HSVhsv(307, 42%, 31%)
CMYKcmyk(0%, 42.3%, 5.1%, 69.4%)
CIE-LABlab(23.64, 20.35, -11.65)
CIE-LCHlch(23.64, 23.44, 330.21°)
OKLaboklab(34.99% 0.0576 -0.0315)
OKLCHoklch(34.99% 0.066 331.3)
XYZxyz(5.3162, 3.9911, 6.9676)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D4A #2D4E31
analogous
#422D4E #4E2D4A #4E2D3A
triadic
#4E2D4A #4A4E2D #2D4A4E
tetradic
#4E2D4A #4E422D #2D4E31 #2D3A4E
square
#4E2D4A #4E422D #2D4E31 #2D3A4E
split-complementary
#4E2D4A #3A4E2D #2D4E42
monochromatic
#130B12 #271725 #4E2D4A #75436F #9C5A94

Accessibility & contrast

On white

11.68
#4E2D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D4A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D4A#FFFFFF#000000##FFFFFF
##4E2D4A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354B
Deuteranopia (green-blind)
#343A49
Tritanopia (blue-blind)
#512F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2d4a;
/* rgb */ color: rgb(78, 45, 74);
/* oklch */ color: oklch(35.0% 0.066 331.3);
Tailwind
colors: {
  custom: {
    50: '#80677c',
    500: '#4e2d4a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d4a;
$custom-light: #80677c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d4a",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 74
  },
  "hsl": {
    "h": 307.273,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.06567,
    "h": 331.3
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#4E2D4A
secondary
#57805C
accent
#C37065
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E2D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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