#4E2053#4E2053

#4E2053 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.3% C 0.101 H 323.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2053
RGBrgb(78, 32, 83)
HSLhsl(294, 44%, 23%)
HSVhsv(294, 61%, 33%)
CMYKcmyk(6%, 61.4%, 0%, 67.5%)
CIE-LABlab(21.12, 30.04, -21.61)
CIE-LCHlch(21.12, 37.00, 324.28°)
OKLaboklab(33.27% 0.0812 -0.0598)
OKLCHoklch(33.27% 0.101 323.6)
XYZxyz(5.2196, 3.2775, 8.5396)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2053 #255320
analogous
#352053 #4E2053 #53203E
triadic
#4E2053 #534E20 #20534E
tetradic
#4E2053 #533520 #255320 #203E53
square
#4E2053 #533520 #255320 #203E53
split-complementary
#4E2053 #3E5320 #205335
monochromatic
#150916 #240F27 #4E2053 #78317F #A142AB

Accessibility & contrast

On white

12.69
#4E2053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2053
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2053#FFFFFF#000000##FFFFFF
##4E20531.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#273552
Tritanopia (blue-blind)
#4F2736
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2053;
/* rgb */ color: rgb(78, 32, 83);
/* oklch */ color: oklch(33.3% 0.101 323.6);
Tailwind
colors: {
  custom: {
    50: '#815e83',
    500: '#4e2053',
    950: '#000000',
  },
}
SCSS
$custom: #4e2053;
$custom-light: #815e83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2053",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 83
  },
  "hsl": {
    "h": 294.118,
    "s": 44.348,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.10087,
    "h": 323.6
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#4E2053
secondary
#4E8747
accent
#D45460
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E2053

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

Preview Lab → · Contrast checker → · Palette generator →

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