#4E2849#4E2849

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

Color values

HEX#4E2849
RGBrgb(78, 40, 73)
HSLhsl(308, 32%, 23%)
HSVhsv(308, 49%, 31%)
CMYKcmyk(0%, 48.7%, 6.4%, 69.4%)
CIE-LABlab(22.37, 23.25, -12.93)
CIE-LCHlch(22.37, 26.60, 330.92°)
OKLaboklab(34.02% 0.0662 -0.0351)
OKLCHoklch(34.02% 0.075 332.1)
XYZxyz(5.1032, 3.6186, 6.7317)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2849 #284E2D
analogous
#40284E #4E2849 #4E2836
triadic
#4E2849 #494E28 #28494E
tetradic
#4E2849 #4E4028 #284E2D #28364E
square
#4E2849 #4E4028 #284E2D #28364E
split-complementary
#4E2849 #364E28 #284E40
monochromatic
#140A13 #261323 #4E2849 #763D6F #9F5195

Accessibility & contrast

On white

12.18
#4E2849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2849
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2849#FFFFFF#000000##FFFFFF
##4E28491.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27324A
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#512A35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2849;
/* rgb */ color: rgb(78, 40, 73);
/* oklch */ color: oklch(34.0% 0.075 332.1);
Tailwind
colors: {
  custom: {
    50: '#81637b',
    500: '#4e2849',
    950: '#000000',
  },
}
SCSS
$custom: #4e2849;
$custom-light: #81637b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2849",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 307.895,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.07492,
    "h": 332.1
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#4E2849
secondary
#518157
accent
#C86D5F
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2849

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

Preview Lab → · Contrast checker → · Palette generator →

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