#4E2C56#4E2C56

#4E2C56 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.4% C 0.082 H 319.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4E2C56
RGBrgb(78, 44, 86)
HSLhsl(289, 32%, 25%)
HSVhsv(289, 49%, 34%)
CMYKcmyk(9.3%, 48.8%, 0%, 66.3%)
CIE-LABlab(23.98, 23.65, -19.12)
CIE-LCHlch(23.98, 30.41, 321.04°)
OKLaboklab(35.43% 0.0624 -0.0528)
OKLCHoklch(35.43% 0.082 319.8)
XYZxyz(5.7221, 4.0932, 9.2909)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C56 #34562C
analogous
#392C56 #4E2C56 #562C49
triadic
#4E2C56 #564E2C #2C564E
tetradic
#4E2C56 #56392C #34562C #2C4956
square
#4E2C56 #56392C #34562C #2C4956
split-complementary
#4E2C56 #49562C #2C5639
monochromatic
#120A14 #29172E #4E2C56 #73417E #9755A7

Accessibility & contrast

On white

11.55
#4E2C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C56
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C56#FFFFFF#000000##FFFFFF
##4E2C561.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263757
Deuteranopia (green-blind)
#2F3A55
Tritanopia (blue-blind)
#4E313D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2c56;
/* rgb */ color: rgb(78, 44, 86);
/* oklch */ color: oklch(35.4% 0.082 319.8);
Tailwind
colors: {
  custom: {
    50: '#816686',
    500: '#4e2c56',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c56;
$custom-light: #816686;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c56",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 288.571,
    "s": 32.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35432,
    "c": 0.08172,
    "h": 319.8
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#4E2C56
secondary
#5F8856
accent
#C85F73
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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