#4E2749#4E2749

#4E2749 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 33.8% C 0.077 H 332.0°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2749
RGBrgb(78, 39, 73)
HSLhsl(308, 33%, 23%)
HSVhsv(308, 50%, 31%)
CMYKcmyk(0%, 50%, 6.4%, 69.4%)
CIE-LABlab(22.13, 23.86, -13.30)
CIE-LCHlch(22.13, 27.31, 330.87°)
OKLaboklab(33.84% 0.068 -0.0361)
OKLCHoklch(33.84% 0.077 332)
XYZxyz(5.0700, 3.5521, 6.7206)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2749 #274E2C
analogous
#3F274E #4E2749 #4E2735
triadic
#4E2749 #494E27 #27494E
tetradic
#4E2749 #4E3F27 #274E2C #27354E
square
#4E2749 #4E3F27 #274E2C #27354E
split-complementary
#4E2749 #354E27 #274E3F
monochromatic
#140A13 #251323 #4E2749 #773B6F #A05095

Accessibility & contrast

On white

12.28
#4E2749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E2749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2749
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2749#FFFFFF#000000##FFFFFF
##4E27491.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2749;
/* rgb */ color: rgb(78, 39, 73);
/* oklch */ color: oklch(33.8% 0.077 332.0);
Tailwind
colors: {
  custom: {
    50: '#81627b',
    500: '#4e2749',
    950: '#000000',
  },
}
SCSS
$custom: #4e2749;
$custom-light: #81627b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2749",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 73
  },
  "hsl": {
    "h": 307.692,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.07694,
    "h": 332
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#4E2749
secondary
#508156
accent
#C96C5E
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2749

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

Preview Lab → · Contrast checker → · Palette generator →

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