#4E2550#4E2550

#4E2550 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.9% C 0.088 H 325.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#4E2550
RGBrgb(78, 37, 80)
HSLhsl(297, 37%, 23%)
HSVhsv(297, 54%, 31%)
CMYKcmyk(2.5%, 53.7%, 0%, 68.6%)
CIE-LABlab(22.02, 26.53, -18.18)
CIE-LCHlch(22.02, 32.16, 325.59°)
OKLaboklab(33.88% 0.0729 -0.05)
OKLCHoklch(33.88% 0.088 325.6)
XYZxyz(5.2513, 3.5223, 7.9911)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2550 #275025
analogous
#382550 #4E2550 #50253C
triadic
#4E2550 #504E25 #25504E
tetradic
#4E2550 #503825 #275025 #253C50
square
#4E2550 #503825 #275025 #253C50
split-complementary
#4E2550 #3C5025 #255038
monochromatic
#140A15 #251226 #4E2550 #77387A #A04CA4

Accessibility & contrast

On white

12.32
#4E2550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2550
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2550#FFFFFF#000000##FFFFFF
##4E25501.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#2C374F
Tritanopia (blue-blind)
#502A36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2550;
/* rgb */ color: rgb(78, 37, 80);
/* oklch */ color: oklch(33.9% 0.088 325.6);
Tailwind
colors: {
  custom: {
    50: '#816181',
    500: '#4e2550',
    950: '#000000',
  },
}
SCSS
$custom: #4e2550;
$custom-light: #816181;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2550",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 80
  },
  "hsl": {
    "h": 297.209,
    "s": 36.752,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.08837,
    "h": 325.6
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#4E2550
secondary
#50834E
accent
#CD5B60
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2550

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

Preview Lab → · Contrast checker → · Palette generator →

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