#4E2048#4E2048

#4E2048 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.090 H 332.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#4E2048
RGBrgb(78, 32, 72)
HSLhsl(308, 42%, 22%)
HSVhsv(308, 59%, 31%)
CMYKcmyk(0%, 59%, 7.7%, 69.4%)
CIE-LABlab(20.52, 27.75, -15.11)
CIE-LCHlch(20.52, 31.60, 331.44°)
OKLaboklab(32.63% 0.0795 -0.0411)
OKLCHoklch(32.63% 0.09 332.6)
XYZxyz(4.8281, 3.1209, 6.4777)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2048 #204E26
analogous
#3D204E #4E2048 #4E2031
triadic
#4E2048 #484E20 #20484E
tetradic
#4E2048 #4E3D20 #204E26 #20314E
square
#4E2048 #4E3D20 #204E26 #20314E
split-complementary
#4E2048 #314E20 #204E3D
monochromatic
#160914 #230E20 #4E2048 #793270 #A54498

Accessibility & contrast

On white

12.93
#4E2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2048
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2048#FFFFFF#000000##FFFFFF
##4E20481.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D49
Deuteranopia (green-blind)
#2C3447
Tritanopia (blue-blind)
#512330
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e2048;
/* rgb */ color: rgb(78, 32, 72);
/* oklch */ color: oklch(32.6% 0.090 332.6);
Tailwind
colors: {
  custom: {
    50: '#815e7b',
    500: '#4e2048',
    950: '#000000',
  },
}
SCSS
$custom: #4e2048;
$custom-light: #815e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2048",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 307.826,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.08952,
    "h": 332.6
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#4E2048
secondary
#47824F
accent
#D26656
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E2048

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

Preview Lab → · Contrast checker → · Palette generator →

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