#4D207A#4D207A

#4D207A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.145 H 302.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4D207A
RGBrgb(77, 32, 122)
HSLhsl(270, 58%, 30%)
HSVhsv(270, 74%, 48%)
CMYKcmyk(36.9%, 73.8%, 0%, 52.2%)
CIE-LABlab(23.72, 39.24, -42.90)
CIE-LCHlch(23.72, 58.14, 312.45°)
OKLaboklab(35.99% 0.0777 -0.1222)
OKLCHoklch(35.99% 0.145 302.4)
XYZxyz(7.0891, 4.0159, 18.8103)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D207A #4D7A20
analogous
#20207A #4D207A #7A207A
triadic
#4D207A #7A4D20 #207A4D
tetradic
#4D207A #7A2020 #4D7A20 #207A7A
square
#4D207A #7A2020 #4D7A20 #207A7A
split-complementary
#4D207A #7A7A20 #207A20
monochromatic
#100719 #2E134A #4D207A #6C2DAA #8A46CE

Accessibility & contrast

On white

11.65
#4D207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4D207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D207A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D207A#FFFFFF#000000##FFFFFF
##4D207A1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#44364B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d207a;
/* rgb */ color: rgb(77, 32, 122);
/* oklch */ color: oklch(36.0% 0.145 302.4);
Tailwind
colors: {
  custom: {
    50: '#8360a1',
    500: '#4d207a',
    950: '#000000',
  },
}
SCSS
$custom: #4d207a;
$custom-light: #8360a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d207a",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 270,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35989,
    "c": 0.14478,
    "h": 302.4
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#4D207A
secondary
#7BAD49
accent
#E24694
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D207A

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

Preview Lab → · Contrast checker → · Palette generator →

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