#4D205C#4D205C

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

Color values

HEX#4D205C
RGBrgb(77, 32, 92)
HSLhsl(285, 48%, 24%)
HSVhsv(285, 65%, 36%)
CMYKcmyk(16.3%, 65.2%, 0%, 63.9%)
CIE-LABlab(21.52, 31.77, -26.99)
CIE-LCHlch(21.52, 41.69, 319.66°)
OKLaboklab(33.71% 0.0804 -0.0755)
OKLCHoklch(33.71% 0.11 316.8)
XYZxyz(5.5086, 3.3837, 10.4861)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D205C #2F5C20
analogous
#2F205C #4D205C #5C204D
triadic
#4D205C #5C4D20 #205C4D
tetradic
#4D205C #5C2F20 #2F5C20 #204D5C
square
#4D205C #5C2F20 #2F5C20 #204D5C
split-complementary
#4D205C #4D5C20 #205C2F
monochromatic
#130817 #27102F #4D205C #733089 #9940B7

Accessibility & contrast

On white

12.52
#4D205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D205C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D205C#FFFFFF#000000##FFFFFF
##4D205C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d205c;
/* rgb */ color: rgb(77, 32, 92);
/* oklch */ color: oklch(33.7% 0.110 316.8);
Tailwind
colors: {
  custom: {
    50: '#815e8a',
    500: '#4d205c',
    950: '#000000',
  },
}
SCSS
$custom: #4d205c;
$custom-light: #815e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d205c",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 285,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.11029,
    "h": 316.8
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#4D205C
secondary
#5A9047
accent
#D85072
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4D205C

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

Preview Lab → · Contrast checker → · Palette generator →

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