#4E2753#4E2753

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

Color values

HEX#4E2753
RGBrgb(78, 39, 83)
HSLhsl(293, 36%, 24%)
HSVhsv(293, 53%, 33%)
CMYKcmyk(6%, 53%, 0%, 67.5%)
CIE-LABlab(22.64, 26.01, -19.22)
CIE-LCHlch(22.64, 32.34, 323.53°)
OKLaboklab(34.39% 0.0701 -0.053)
OKLCHoklch(34.39% 0.088 322.9)
XYZxyz(5.4286, 3.6955, 8.6093)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2753 #2C5327
analogous
#382753 #4E2753 #532742
triadic
#4E2753 #534E27 #27534E
tetradic
#4E2753 #533827 #2C5327 #274253
square
#4E2753 #533827 #2C5327 #274253
split-complementary
#4E2753 #425327 #275338
monochromatic
#140A15 #271329 #4E2753 #753B7D #9C4EA6

Accessibility & contrast

On white

12.08
#4E2753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2753
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2753#FFFFFF#000000##FFFFFF
##4E27531.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#4F2C39
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2753;
/* rgb */ color: rgb(78, 39, 83);
/* oklch */ color: oklch(34.4% 0.088 322.9);
Tailwind
colors: {
  custom: {
    50: '#816383',
    500: '#4e2753',
    950: '#000000',
  },
}
SCSS
$custom: #4e2753;
$custom-light: #816383;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2753",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 83
  },
  "hsl": {
    "h": 293.182,
    "s": 36.066,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.08792,
    "h": 322.9
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#4E2753
secondary
#568650
accent
#CC5C68
background
#F7F5F8
surface
#EEEAEF
border
#C9C6CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2753

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

Preview Lab → · Contrast checker → · Palette generator →

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