#4E205B#4E205B

#4E205B is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.110 H 318.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#4E205B
RGBrgb(78, 32, 91)
HSLhsl(287, 48%, 24%)
HSVhsv(287, 65%, 36%)
CMYKcmyk(14.3%, 64.8%, 0%, 64.3%)
CIE-LABlab(21.61, 31.83, -26.17)
CIE-LCHlch(21.61, 41.20, 320.57°)
OKLaboklab(33.78% 0.0818 -0.0731)
OKLCHoklch(33.78% 0.11 318.2)
XYZxyz(5.5465, 3.4083, 10.2612)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E205B #2D5B20
analogous
#31205B #4E205B #5B204B
triadic
#4E205B #5B4E20 #205B4E
tetradic
#4E205B #5B3120 #2D5B20 #204B5B
square
#4E205B #5B3120 #2D5B20 #204B5B
split-complementary
#4E205B #4B5B20 #205B31
monochromatic
#130817 #27102E #4E205B #753088 #9C40B6

Accessibility & contrast

On white

12.49
#4E205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E205B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E205B#FFFFFF#000000##FFFFFF
##4E205B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315D
Deuteranopia (green-blind)
#23355A
Tritanopia (blue-blind)
#4E2A3A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e205b;
/* rgb */ color: rgb(78, 32, 91);
/* oklch */ color: oklch(33.8% 0.110 318.2);
Tailwind
colors: {
  custom: {
    50: '#825f8a',
    500: '#4e205b',
    950: '#000000',
  },
}
SCSS
$custom: #4e205b;
$custom-light: #825f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e205b",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 286.78,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33782,
    "c": 0.10967,
    "h": 318.2
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#4E205B
secondary
#578F47
accent
#D8506E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #4E205B

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

Preview Lab → · Contrast checker → · Palette generator →

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