#4E2B52#4E2B52

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

Color values

HEX#4E2B52
RGBrgb(78, 43, 82)
HSLhsl(294, 31%, 25%)
HSVhsv(294, 48%, 32%)
CMYKcmyk(4.9%, 47.6%, 0%, 67.8%)
CIE-LABlab(23.53, 23.35, -17.17)
CIE-LCHlch(23.53, 28.98, 323.67°)
OKLaboklab(35.03% 0.0632 -0.0471)
OKLCHoklch(35.03% 0.079 323.3)
XYZxyz(5.5286, 3.9569, 8.4535)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B52 #2F522B
analogous
#3B2B52 #4E2B52 #522B43
triadic
#4E2B52 #524E2B #2B524E
tetradic
#4E2B52 #523B2B #2F522B #2B4352
square
#4E2B52 #523B2B #2F522B #2B4352
split-complementary
#4E2B52 #43522B #2B523B
monochromatic
#130B14 #28162A #4E2B52 #74407A #9A55A2

Accessibility & contrast

On white

11.72
#4E2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B52
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B52#FFFFFF#000000##FFFFFF
##4E2B521.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263553
Deuteranopia (green-blind)
#303951
Tritanopia (blue-blind)
#4F2F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2b52;
/* rgb */ color: rgb(78, 43, 82);
/* oklch */ color: oklch(35.0% 0.079 323.3);
Tailwind
colors: {
  custom: {
    50: '#806582',
    500: '#4e2b52',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b52;
$custom-light: #806582;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b52",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 293.846,
    "s": 31.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3503,
    "c": 0.07888,
    "h": 323.3
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#4E2B52
secondary
#5A8455
accent
#C7606B
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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