#4E1648#4E1648

#4E1648 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.107 H 332.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4E1648
RGBrgb(78, 22, 72)
HSLhsl(306, 56%, 20%)
HSVhsv(306, 72%, 31%)
CMYKcmyk(0%, 71.8%, 7.7%, 69.4%)
CIE-LABlab(18.64, 32.90, -18.05)
CIE-LCHlch(18.64, 37.53, 331.25°)
OKLaboklab(31.25% 0.0944 -0.0495)
OKLCHoklch(31.25% 0.107 332.3)
XYZxyz(4.5985, 2.6618, 6.4012)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1648 #164E1C
analogous
#38164E #4E1648 #4E162C
triadic
#4E1648 #484E16 #16484E
tetradic
#4E1648 #4E3816 #164E1C #162C4E
square
#4E1648 #4E3816 #164E1C #162C4E
split-complementary
#4E1648 #2C4E16 #164E38
monochromatic
#180716 #1E091C #4E1648 #7E2374 #AD31A0

Accessibility & contrast

On white

13.71
#4E1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1648
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1648#FFFFFF#000000##FFFFFF
##4E16481.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142849
Deuteranopia (green-blind)
#273047
Tritanopia (blue-blind)
#521B2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1648;
/* rgb */ color: rgb(78, 22, 72);
/* oklch */ color: oklch(31.3% 0.107 332.3);
Tailwind
colors: {
  custom: {
    50: '#82587b',
    500: '#4e1648',
    950: '#000000',
  },
}
SCSS
$custom: #4e1648;
$custom-light: #82587b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1648",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 306.429,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3125,
    "c": 0.10659,
    "h": 332.3
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#4E1648
secondary
#3A8542
accent
#DF5949
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1648

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

Preview Lab → · Contrast checker → · Palette generator →

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