#4E205E#4E205E

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

Color values

HEX#4E205E
RGBrgb(78, 32, 94)
HSLhsl(285, 49%, 25%)
HSVhsv(285, 66%, 37%)
CMYKcmyk(17%, 66%, 0%, 63.1%)
CIE-LABlab(21.80, 32.52, -27.85)
CIE-LCHlch(21.80, 42.81, 319.43°)
OKLaboklab(33.99% 0.0818 -0.078)
OKLCHoklch(33.99% 0.113 316.4)
XYZxyz(5.6785, 3.4611, 10.9564)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E205E #305E20
analogous
#2F205E #4E205E #5E204F
triadic
#4E205E #5E4E20 #205E4E
tetradic
#4E205E #5E2F20 #305E20 #204F5E
square
#4E205E #5E2F20 #305E20 #204F5E
split-complementary
#4E205E #4F5E20 #205E2F
monochromatic
#130817 #281030 #4E205E #74308C #9A3FB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E205E#FFFFFF#000000##FFFFFF
##4E205E1.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)
#0D3160
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#4D2B3B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e205e;
/* rgb */ color: rgb(78, 32, 94);
/* oklch */ color: oklch(34.0% 0.113 316.4);
Tailwind
colors: {
  custom: {
    50: '#825f8c',
    500: '#4e205e',
    950: '#000000',
  },
}
SCSS
$custom: #4e205e;
$custom-light: #825f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e205e",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 284.516,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.11303,
    "h": 316.4
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#4E205E
secondary
#5B9247
accent
#D94F73
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E205E

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

Preview Lab → · Contrast checker → · Palette generator →

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