#4E2456#4E2456

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

Color values

HEX#4E2456
RGBrgb(78, 36, 86)
HSLhsl(290, 41%, 24%)
HSVhsv(290, 58%, 34%)
CMYKcmyk(9.3%, 58.1%, 0%, 66.3%)
CIE-LABlab(22.14, 28.45, -22.01)
CIE-LCHlch(22.14, 35.97, 322.27°)
OKLaboklab(34.07% 0.0754 -0.061)
OKLCHoklch(34.07% 0.097 321)
XYZxyz(5.4523, 3.5536, 9.2010)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2456 #2C5624
analogous
#352456 #4E2456 #562445
triadic
#4E2456 #564E24 #24564E
tetradic
#4E2456 #563524 #2C5624 #244556
square
#4E2456 #563524 #2C5624 #244556
split-complementary
#4E2456 #455624 #245635
monochromatic
#140916 #27122B #4E2456 #753681 #9C48AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2456#FFFFFF#000000##FFFFFF
##4E24561.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)
#1B3258
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#4F2B39
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2456;
/* rgb */ color: rgb(78, 36, 86);
/* oklch */ color: oklch(34.1% 0.097 321.0);
Tailwind
colors: {
  custom: {
    50: '#816186',
    500: '#4e2456',
    950: '#000000',
  },
}
SCSS
$custom: #4e2456;
$custom-light: #816186;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2456",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 290.4,
    "s": 40.984,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34069,
    "c": 0.097,
    "h": 321
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#4E2456
secondary
#568A4C
accent
#D1576A
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2456

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

Preview Lab → · Contrast checker → · Palette generator →

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