#4E1E47#4E1E47

#4E1E47 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.092 H 333.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4E1E47
RGBrgb(78, 30, 71)
HSLhsl(309, 44%, 21%)
HSVhsv(309, 62%, 31%)
CMYKcmyk(0%, 61.5%, 9%, 69.4%)
CIE-LABlab(20.06, 28.67, -15.15)
CIE-LCHlch(20.06, 32.42, 332.15°)
OKLaboklab(32.27% 0.0825 -0.0412)
OKLCHoklch(32.27% 0.092 333.4)
XYZxyz(4.7435, 3.0035, 6.2899)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E47 #1E4E25
analogous
#3D1E4E #4E1E47 #4E1E2F
triadic
#4E1E47 #474E1E #1E474E
tetradic
#4E1E47 #4E3D1E #1E4E25 #1E2F4E
square
#4E1E47 #4E3D1E #1E4E25 #1E2F4E
split-complementary
#4E1E47 #2F4E1E #1E4E3D
monochromatic
#160914 #220D1F #4E1E47 #7A2F6F #A64097

Accessibility & contrast

On white

13.12
#4E1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E47
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E47#FFFFFF#000000##FFFFFF
##4E1E471.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#2C3346
Tritanopia (blue-blind)
#52212F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1e47;
/* rgb */ color: rgb(78, 30, 71);
/* oklch */ color: oklch(32.3% 0.092 333.4);
Tailwind
colors: {
  custom: {
    50: '#815d7a',
    500: '#4e1e47',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e47;
$custom-light: #815d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e47",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 308.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.09224,
    "h": 333.4
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#4E1E47
secondary
#45834E
accent
#D46654
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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