#4E2848#4E2848

#4E2848 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.0% C 0.074 H 333.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4E2848
RGBrgb(78, 40, 72)
HSLhsl(309, 32%, 23%)
HSVhsv(309, 49%, 31%)
CMYKcmyk(0%, 48.7%, 7.7%, 69.4%)
CIE-LABlab(22.32, 23.04, -12.33)
CIE-LCHlch(22.32, 26.13, 331.85°)
OKLaboklab(33.97% 0.0659 -0.0334)
OKLCHoklch(33.97% 0.074 333.2)
XYZxyz(5.0703, 3.6055, 6.5585)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2848 #284E2E
analogous
#41284E #4E2848 #4E2835
triadic
#4E2848 #484E28 #28484E
tetradic
#4E2848 #4E4128 #284E2E #28354E
square
#4E2848 #4E4128 #284E2E #28354E
split-complementary
#4E2848 #354E28 #284E41
monochromatic
#140A13 #261323 #4E2848 #763D6D #9F5193

Accessibility & contrast

On white

12.20
#4E2848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E2848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2848
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2848#FFFFFF#000000##FFFFFF
##4E28481.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273249
Deuteranopia (green-blind)
#323747
Tritanopia (blue-blind)
#512A34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2848;
/* rgb */ color: rgb(78, 40, 72);
/* oklch */ color: oklch(34.0% 0.074 333.2);
Tailwind
colors: {
  custom: {
    50: '#81637b',
    500: '#4e2848',
    950: '#000000',
  },
}
SCSS
$custom: #4e2848;
$custom-light: #81637b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2848",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 309.474,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33969,
    "c": 0.07389,
    "h": 333.2
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#4E2848
secondary
#518159
accent
#C8705F
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2848

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

Preview Lab → · Contrast checker → · Palette generator →

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