#4E2451#4E2451

#4E2451 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.8% C 0.091 H 324.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#4E2451
RGBrgb(78, 36, 81)
HSLhsl(296, 38%, 23%)
HSVhsv(296, 56%, 32%)
CMYKcmyk(3.7%, 55.6%, 0%, 68.2%)
CIE-LABlab(21.86, 27.34, -19.11)
CIE-LCHlch(21.86, 33.35, 325.05°)
OKLaboklab(33.77% 0.0747 -0.0526)
OKLCHoklch(33.77% 0.091 324.8)
XYZxyz(5.2578, 3.4758, 8.1769)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2451 #275124
analogous
#372451 #4E2451 #51243D
triadic
#4E2451 #514E24 #24514E
tetradic
#4E2451 #513724 #275124 #243D51
square
#4E2451 #513724 #275124 #243D51
split-complementary
#4E2451 #3D5124 #245137
monochromatic
#140915 #251127 #4E2451 #77377B #A04AA6

Accessibility & contrast

On white

12.39
#4E2451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2451
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2451#FFFFFF#000000##FFFFFF
##4E24511.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#2B3650
Tritanopia (blue-blind)
#502937
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2451;
/* rgb */ color: rgb(78, 36, 81);
/* oklch */ color: oklch(33.8% 0.091 324.8);
Tailwind
colors: {
  custom: {
    50: '#816182',
    500: '#4e2451',
    950: '#000000',
  },
}
SCSS
$custom: #4e2451;
$custom-light: #816182;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2451",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 296,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.09138,
    "h": 324.8
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#4E2451
secondary
#50854C
accent
#CE5961
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2451

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

Preview Lab → · Contrast checker → · Palette generator →

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