#4E2549#4E2549

#4E2549 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.5% C 0.081 H 331.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4E2549
RGBrgb(78, 37, 73)
HSLhsl(307, 36%, 23%)
HSVhsv(307, 53%, 31%)
CMYKcmyk(0%, 52.6%, 6.4%, 69.4%)
CIE-LABlab(21.67, 25.06, -14.01)
CIE-LCHlch(21.67, 28.71, 330.79°)
OKLaboklab(33.5% 0.0714 -0.0381)
OKLCHoklch(33.5% 0.081 331.9)
XYZxyz(5.0060, 3.4242, 6.6993)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2549 #254E2A
analogous
#3E254E #4E2549 #4E2535
triadic
#4E2549 #494E25 #25494E
tetradic
#4E2549 #4E3E25 #254E2A #25354E
square
#4E2549 #4E3E25 #254E2A #25354E
split-complementary
#4E2549 #354E25 #254E3E
monochromatic
#150A13 #241122 #4E2549 #783970 #A14C97

Accessibility & contrast

On white

12.46
#4E2549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E2549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2549
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2549#FFFFFF#000000##FFFFFF
##4E25491.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24304A
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#512833
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2549;
/* rgb */ color: rgb(78, 37, 73);
/* oklch */ color: oklch(33.5% 0.081 331.9);
Tailwind
colors: {
  custom: {
    50: '#81617c',
    500: '#4e2549',
    950: '#000000',
  },
}
SCSS
$custom: #4e2549;
$custom-light: #81617c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2549",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 73
  },
  "hsl": {
    "h": 307.317,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33497,
    "c": 0.08092,
    "h": 331.9
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#4E2549
secondary
#4E8154
accent
#CC6A5C
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2549

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

Preview Lab → · Contrast checker → · Palette generator →

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