#4E2D56#4E2D56

#4E2D56 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.6% C 0.080 H 319.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4E2D56
RGBrgb(78, 45, 86)
HSLhsl(288, 31%, 26%)
HSVhsv(288, 48%, 34%)
CMYKcmyk(9.3%, 47.7%, 0%, 66.3%)
CIE-LABlab(24.22, 23.03, -18.74)
CIE-LCHlch(24.22, 29.69, 320.85°)
OKLaboklab(35.62% 0.0607 -0.0517)
OKLCHoklch(35.62% 0.08 319.6)
XYZxyz(5.7598, 4.1686, 9.3035)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D56 #35562D
analogous
#392D56 #4E2D56 #562D49
triadic
#4E2D56 #564E2D #2D564E
tetradic
#4E2D56 #56392D #35562D #2D4956
square
#4E2D56 #56392D #35562D #2D4956
split-complementary
#4E2D56 #49562D #2D5639
monochromatic
#120B14 #2A182E #4E2D56 #72427E #9757A6

Accessibility & contrast

On white

11.45
#4E2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D56
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D56#FFFFFF#000000##FFFFFF
##4E2D561.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273757
Deuteranopia (green-blind)
#303B55
Tritanopia (blue-blind)
#4E323D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d56;
/* rgb */ color: rgb(78, 45, 86);
/* oklch */ color: oklch(35.6% 0.080 319.6);
Tailwind
colors: {
  custom: {
    50: '#806786',
    500: '#4e2d56',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d56;
$custom-light: #806786;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d56",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 288.293,
    "s": 31.298,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35615,
    "c": 0.07972,
    "h": 319.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#4E2D56
secondary
#618857
accent
#C76074
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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