#4E2754#4E2754

#4E2754 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.4% C 0.089 H 322.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4E2754
RGBrgb(78, 39, 84)
HSLhsl(292, 37%, 24%)
HSVhsv(292, 54%, 33%)
CMYKcmyk(7.1%, 53.6%, 0%, 67.1%)
CIE-LABlab(22.69, 26.24, -19.81)
CIE-LCHlch(22.69, 32.87, 322.95°)
OKLaboklab(34.44% 0.0703 -0.0547)
OKLCHoklch(34.44% 0.089 322.1)
XYZxyz(5.4675, 3.7111, 8.8141)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2754 #2D5427
analogous
#382754 #4E2754 #542744
triadic
#4E2754 #544E27 #27544E
tetradic
#4E2754 #543827 #2D5427 #274454
square
#4E2754 #543827 #2D5427 #274454
split-complementary
#4E2754 #445427 #275438
monochromatic
#130A15 #27142A #4E2754 #753A7E #9C4EA8

Accessibility & contrast

On white

12.05
#4E2754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E2754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2754
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2754#FFFFFF#000000##FFFFFF
##4E27541.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203356
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#4F2D39
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2754;
/* rgb */ color: rgb(78, 39, 84);
/* oklch */ color: oklch(34.4% 0.089 322.1);
Tailwind
colors: {
  custom: {
    50: '#816384',
    500: '#4e2754',
    950: '#000000',
  },
}
SCSS
$custom: #4e2754;
$custom-light: #816384;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2754",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 292,
    "s": 36.585,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34443,
    "c": 0.08907,
    "h": 322.1
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#4E2754
secondary
#578750
accent
#CD5B6A
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2754

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

Preview Lab → · Contrast checker → · Palette generator →

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