#4E2853#4E2853

#4E2853 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.6% C 0.086 H 322.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2853
RGBrgb(78, 40, 83)
HSLhsl(293, 35%, 24%)
HSVhsv(293, 52%, 33%)
CMYKcmyk(6%, 51.8%, 0%, 67.5%)
CIE-LABlab(22.87, 25.41, -18.86)
CIE-LCHlch(22.87, 31.64, 323.41°)
OKLaboklab(34.56% 0.0685 -0.052)
OKLCHoklch(34.56% 0.086 322.8)
XYZxyz(5.4618, 3.7621, 8.6204)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2853 #2D5328
analogous
#392853 #4E2853 #532843
triadic
#4E2853 #534E28 #28534E
tetradic
#4E2853 #533928 #2D5328 #284353
square
#4E2853 #533928 #2D5328 #284353
split-complementary
#4E2853 #435328 #285339
monochromatic
#130A15 #27142A #4E2853 #753C7C #9C50A6

Accessibility & contrast

On white

11.98
#4E2853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2853
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2853#FFFFFF#000000##FFFFFF
##4E28531.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223454
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#4F2D39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2853;
/* rgb */ color: rgb(78, 40, 83);
/* oklch */ color: oklch(34.6% 0.086 322.8);
Tailwind
colors: {
  custom: {
    50: '#816383',
    500: '#4e2853',
    950: '#000000',
  },
}
SCSS
$custom: #4e2853;
$custom-light: #816383;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2853",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 293.023,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.08598,
    "h": 322.8
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#4E2853
secondary
#578651
accent
#CB5D6A
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2853

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

Preview Lab → · Contrast checker → · Palette generator →

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