#4E2459#4E2459

#4E2459 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.3% C 0.100 H 318.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#4E2459
RGBrgb(78, 36, 89)
HSLhsl(288, 42%, 25%)
HSVhsv(288, 60%, 35%)
CMYKcmyk(12.4%, 59.6%, 0%, 65.1%)
CIE-LABlab(22.31, 29.14, -23.73)
CIE-LCHlch(22.31, 37.58, 320.84°)
OKLaboklab(34.26% 0.0757 -0.066)
OKLCHoklch(34.26% 0.1 318.9)
XYZxyz(5.5757, 3.6029, 9.8510)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2459 #2F5924
analogous
#342459 #4E2459 #59244A
triadic
#4E2459 #594E24 #24594E
tetradic
#4E2459 #593424 #2F5924 #244A59
square
#4E2459 #593424 #2F5924 #244A59
split-complementary
#4E2459 #4A5924 #245934
monochromatic
#130916 #28122D #4E2459 #743685 #9A47B0

Accessibility & contrast

On white

12.21
#4E2459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E2459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2459
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2459#FFFFFF#000000##FFFFFF
##4E24591.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335B
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#4E2C3A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2459;
/* rgb */ color: rgb(78, 36, 89);
/* oklch */ color: oklch(34.3% 0.100 318.9);
Tailwind
colors: {
  custom: {
    50: '#816188',
    500: '#4e2459',
    950: '#000000',
  },
}
SCSS
$custom: #4e2459;
$custom-light: #816188;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2459",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 89
  },
  "hsl": {
    "h": 287.547,
    "s": 42.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.10045,
    "h": 318.9
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#4E2459
secondary
#5A8D4C
accent
#D2566F
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2459

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

Preview Lab → · Contrast checker → · Palette generator →

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