#4E2548#4E2548

#4E2548 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.4% C 0.080 H 332.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2548
RGBrgb(78, 37, 72)
HSLhsl(309, 36%, 23%)
HSVhsv(309, 53%, 31%)
CMYKcmyk(0%, 52.6%, 7.7%, 69.4%)
CIE-LABlab(21.62, 24.86, -13.41)
CIE-LCHlch(21.62, 28.24, 331.66°)
OKLaboklab(33.45% 0.0711 -0.0364)
OKLCHoklch(33.45% 0.08 332.9)
XYZxyz(4.9731, 3.4110, 6.5261)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2548 #254E2B
analogous
#3F254E #4E2548 #4E2534
triadic
#4E2548 #484E25 #25484E
tetradic
#4E2548 #4E3F25 #254E2B #25344E
square
#4E2548 #4E3F25 #254E2B #25344E
split-complementary
#4E2548 #344E25 #254E3F
monochromatic
#150A13 #241122 #4E2548 #78396E #A14C95

Accessibility & contrast

On white

12.48
#4E2548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2548
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2548#FFFFFF#000000##FFFFFF
##4E25481.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243049
Deuteranopia (green-blind)
#303647
Tritanopia (blue-blind)
#512833
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2548;
/* rgb */ color: rgb(78, 37, 72);
/* oklch */ color: oklch(33.4% 0.080 332.9);
Tailwind
colors: {
  custom: {
    50: '#81617b',
    500: '#4e2548',
    950: '#000000',
  },
}
SCSS
$custom: #4e2548;
$custom-light: #81617b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2548",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 308.78,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.0799,
    "h": 332.9
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#4E2548
secondary
#4E8155
accent
#CC6C5C
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2548

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

Preview Lab → · Contrast checker → · Palette generator →

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