#4E2354#4E2354

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

Color values

HEX#4E2354
RGBrgb(78, 35, 84)
HSLhsl(293, 41%, 23%)
HSVhsv(293, 58%, 33%)
CMYKcmyk(7.1%, 58.3%, 0%, 67.1%)
CIE-LABlab(21.81, 28.58, -21.20)
CIE-LCHlch(21.81, 35.58, 323.43°)
OKLaboklab(33.79% 0.0767 -0.0587)
OKLCHoklch(33.79% 0.097 322.6)
XYZxyz(5.3430, 3.4621, 8.7726)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2354 #295423
analogous
#352354 #4E2354 #542341
triadic
#4E2354 #544E23 #23544E
tetradic
#4E2354 #543523 #295423 #234154
square
#4E2354 #543523 #295423 #234154
split-complementary
#4E2354 #415423 #235435
monochromatic
#140916 #261129 #4E2354 #76357F #9E47AA

Accessibility & contrast

On white

12.41
#4E2354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E2354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2354
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2354#FFFFFF#000000##FFFFFF
##4E23541.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3156
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#4F2A38
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2354;
/* rgb */ color: rgb(78, 35, 84);
/* oklch */ color: oklch(33.8% 0.097 322.6);
Tailwind
colors: {
  custom: {
    50: '#816084',
    500: '#4e2354',
    950: '#000000',
  },
}
SCSS
$custom: #4e2354;
$custom-light: #816084;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2354",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 84
  },
  "hsl": {
    "h": 292.653,
    "s": 41.176,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.09657,
    "h": 322.6
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#4E2354
secondary
#52884B
accent
#D15766
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2354

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

Preview Lab → · Contrast checker → · Palette generator →

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