#4D205A#4D205A

#4D205A is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.108 H 318.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4D205A
RGBrgb(77, 32, 90)
HSLhsl(287, 48%, 24%)
HSVhsv(287, 64%, 35%)
CMYKcmyk(14.4%, 64.4%, 0%, 64.7%)
CIE-LABlab(21.39, 31.31, -25.86)
CIE-LCHlch(21.39, 40.61, 320.44°)
OKLaboklab(33.57% 0.0803 -0.0722)
OKLCHoklch(33.57% 0.108 318)
XYZxyz(5.4223, 3.3492, 10.0317)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D205A #2D5A20
analogous
#30205A #4D205A #5A204A
triadic
#4D205A #5A4D20 #205A4D
tetradic
#4D205A #5A3020 #2D5A20 #204A5A
square
#4D205A #5A3020 #2D5A20 #204A5A
split-complementary
#4D205A #4A5A20 #205A30
monochromatic
#130817 #26102D #4D205A #743087 #9A40B4

Accessibility & contrast

On white

12.58
#4D205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4D205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D205A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D205A#FFFFFF#000000##FFFFFF
##4D205A1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#4D2A39
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d205a;
/* rgb */ color: rgb(77, 32, 90);
/* oklch */ color: oklch(33.6% 0.108 318.0);
Tailwind
colors: {
  custom: {
    50: '#815e89',
    500: '#4d205a',
    950: '#000000',
  },
}
SCSS
$custom: #4d205a;
$custom-light: #815e89;
$custom-dark: #000000;
JSON
{
  "hex": "#4d205a",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 286.552,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.10803,
    "h": 318
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#4D205A
secondary
#578E47
accent
#D7516F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4D205A

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

Preview Lab → · Contrast checker → · Palette generator →

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