#4E1F48#4E1F48

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

Color values

HEX#4E1F48
RGBrgb(78, 31, 72)
HSLhsl(308, 43%, 21%)
HSVhsv(308, 60%, 31%)
CMYKcmyk(0%, 60.3%, 7.7%, 69.4%)
CIE-LABlab(20.31, 28.31, -15.43)
CIE-LCHlch(20.31, 32.24, 331.41°)
OKLaboklab(32.48% 0.0811 -0.0421)
OKLCHoklch(32.48% 0.091 332.6)
XYZxyz(4.8016, 3.0679, 6.4689)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F48 #1F4E25
analogous
#3D1F4E #4E1F48 #4E1F31
triadic
#4E1F48 #484E1F #1F484E
tetradic
#4E1F48 #4E3D1F #1F4E25 #1F314E
square
#4E1F48 #4E3D1F #1F4E25 #1F314E
split-complementary
#4E1F48 #314E1F #1F4E3D
monochromatic
#160914 #220E20 #4E1F48 #7A3070 #A64299

Accessibility & contrast

On white

13.01
#4E1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F48
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F48#FFFFFF#000000##FFFFFF
##4E1F481.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#2C3347
Tritanopia (blue-blind)
#512230
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1f48;
/* rgb */ color: rgb(78, 31, 72);
/* oklch */ color: oklch(32.5% 0.091 332.6);
Tailwind
colors: {
  custom: {
    50: '#815d7b',
    500: '#4e1f48',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f48;
$custom-light: #815d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f48",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 307.66,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.09137,
    "h": 332.6
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#4E1F48
secondary
#46834E
accent
#D36555
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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