#4E205F#4E205F

#4E205F is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.114 H 315.8°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#4E205F
RGBrgb(78, 32, 95)
HSLhsl(284, 50%, 25%)
HSVhsv(284, 66%, 37%)
CMYKcmyk(17.9%, 66.3%, 0%, 62.7%)
CIE-LABlab(21.87, 32.75, -28.40)
CIE-LCHlch(21.87, 43.35, 319.07°)
OKLaboklab(34.05% 0.0818 -0.0796)
OKLCHoklch(34.05% 0.114 315.8)
XYZxyz(5.7236, 3.4791, 11.1943)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E205F #315F20
analogous
#2F205F #4E205F #5F2050
triadic
#4E205F #5F4E20 #205F4E
tetradic
#4E205F #5F2F20 #315F20 #20505F
square
#4E205F #5F2F20 #315F20 #20505F
split-complementary
#4E205F #505F20 #205F2F
monochromatic
#130817 #281131 #4E205F #742F8D #993FBB

Accessibility & contrast

On white

12.38
#4E205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E205F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E205F#FFFFFF#000000##FFFFFF
##4E205F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#4D2B3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e205f;
/* rgb */ color: rgb(78, 32, 95);
/* oklch */ color: oklch(34.1% 0.114 315.8);
Tailwind
colors: {
  custom: {
    50: '#825f8d',
    500: '#4e205f',
    950: '#000000',
  },
}
SCSS
$custom: #4e205f;
$custom-light: #825f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e205f",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 283.81,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.11416,
    "h": 315.8
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#4E205F
secondary
#5C9347
accent
#D94F74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E205F

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

Preview Lab → · Contrast checker → · Palette generator →

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