#4E2C57#4E2C57

#4E2C57 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.5% C 0.083 H 319.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4E2C57
RGBrgb(78, 44, 87)
HSLhsl(287, 33%, 26%)
HSVhsv(287, 49%, 34%)
CMYKcmyk(10.3%, 49.4%, 0%, 65.9%)
CIE-LABlab(24.03, 23.88, -19.70)
CIE-LCHlch(24.03, 30.96, 320.48°)
OKLaboklab(35.49% 0.0626 -0.0544)
OKLCHoklch(35.49% 0.083 319)
XYZxyz(5.7626, 4.1094, 9.5046)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C57 #35572C
analogous
#382C57 #4E2C57 #572C4A
triadic
#4E2C57 #574E2C #2C574E
tetradic
#4E2C57 #57382C #35572C #2C4A57
square
#4E2C57 #57382C #35572C #2C4A57
split-complementary
#4E2C57 #4A572C #2C5738
monochromatic
#120A14 #2A172E #4E2C57 #724180 #9755A8

Accessibility & contrast

On white

11.53
#4E2C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2C57
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C57#FFFFFF#000000##FFFFFF
##4E2C571.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253759
Deuteranopia (green-blind)
#2F3A56
Tritanopia (blue-blind)
#4E323D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2c57;
/* rgb */ color: rgb(78, 44, 87);
/* oklch */ color: oklch(35.5% 0.083 319.0);
Tailwind
colors: {
  custom: {
    50: '#816686',
    500: '#4e2c57',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c57;
$custom-light: #816686;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c57",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 287.442,
    "s": 32.824,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35489,
    "c": 0.08294,
    "h": 319
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#4E2C57
secondary
#618956
accent
#C95F75
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2C57

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

Preview Lab → · Contrast checker → · Palette generator →

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