#4E1656#4E1656

#4E1656 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.120 H 322.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4E1656
RGBrgb(78, 22, 86)
HSLhsl(293, 59%, 21%)
HSVhsv(293, 74%, 34%)
CMYKcmyk(9.3%, 74.4%, 0%, 66.3%)
CIE-LABlab(19.50, 35.68, -26.20)
CIE-LCHlch(19.50, 44.27, 323.72°)
OKLaboklab(32.15% 0.095 -0.0731)
OKLCHoklch(32.15% 0.12 322.4)
XYZxyz(5.1083, 2.8657, 9.0864)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1656 #1E5616
analogous
#2E1656 #4E1656 #56163E
triadic
#4E1656 #564E16 #16564E
tetradic
#4E1656 #562E16 #1E5616 #163E56
square
#4E1656 #562E16 #1E5616 #163E56
split-complementary
#4E1656 #3E5616 #16562E
monochromatic
#160618 #220A25 #4E1656 #7A2287 #A62FB7

Accessibility & contrast

On white

13.35
#4E1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1656
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1656#FFFFFF#000000##FFFFFF
##4E16561.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#1F3154
Tritanopia (blue-blind)
#4F2134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1656;
/* rgb */ color: rgb(78, 22, 86);
/* oklch */ color: oklch(32.2% 0.120 322.4);
Tailwind
colors: {
  custom: {
    50: '#825986',
    500: '#4e1656',
    950: '#000000',
  },
}
SCSS
$custom: #4e1656;
$custom-light: #825986;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1656",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 292.5,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.11987,
    "h": 322.4
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#4E1656
secondary
#458D3A
accent
#E24559
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1656

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

Preview Lab → · Contrast checker → · Palette generator →

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