#4E205D#4E205D

#4E205D is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.112 H 317.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4E205D
RGBrgb(78, 32, 93)
HSLhsl(285, 49%, 25%)
HSVhsv(285, 66%, 36%)
CMYKcmyk(16.1%, 65.6%, 0%, 63.5%)
CIE-LABlab(21.74, 32.29, -27.29)
CIE-LCHlch(21.74, 42.27, 319.79°)
OKLaboklab(33.92% 0.0818 -0.0763)
OKLCHoklch(33.92% 0.112 317)
XYZxyz(5.6339, 3.4433, 10.7216)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E205D #2F5D20
analogous
#30205D #4E205D #5D204E
triadic
#4E205D #5D4E20 #205D4E
tetradic
#4E205D #5D3020 #2F5D20 #204E5D
square
#4E205D #5D3020 #2F5D20 #204E5D
split-complementary
#4E205D #4E5D20 #205D30
monochromatic
#130817 #28102F #4E205D #74308B #9A3FB8

Accessibility & contrast

On white

12.44
#4E205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E205D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E205D#FFFFFF#000000##FFFFFF
##4E205D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#4D2A3B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e205d;
/* rgb */ color: rgb(78, 32, 93);
/* oklch */ color: oklch(33.9% 0.112 317.0);
Tailwind
colors: {
  custom: {
    50: '#825f8b',
    500: '#4e205d',
    950: '#000000',
  },
}
SCSS
$custom: #4e205d;
$custom-light: #825f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e205d",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 285.246,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.11191,
    "h": 317
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#4E205D
secondary
#5A9147
accent
#D84F71
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E205D

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

Preview Lab → · Contrast checker → · Palette generator →

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