#4D206D#4D206D

#4D206D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.130 H 307.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4D206D
RGBrgb(77, 32, 109)
HSLhsl(275, 55%, 28%)
HSVhsv(275, 71%, 43%)
CMYKcmyk(29.4%, 70.6%, 0%, 57.3%)
CIE-LABlab(22.71, 35.91, -36.21)
CIE-LCHlch(22.71, 51.00, 314.76°)
OKLaboklab(34.94% 0.0796 -0.1025)
OKLCHoklch(34.94% 0.13 307.8)
XYZxyz(6.3368, 3.7150, 14.8483)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D206D #406D20
analogous
#26206D #4D206D #6D2066
triadic
#4D206D #6D4D20 #206D4D
tetradic
#4D206D #6D2620 #406D20 #20666D
square
#4D206D #6D2620 #406D20 #20666D
split-complementary
#4D206D #666D20 #206D26
monochromatic
#110718 #2C123E #4D206D #6E2E9C #8F40C7

Accessibility & contrast

On white

12.05
#4D206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4D206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D206D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D206D#FFFFFF#000000##FFFFFF
##4D206D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#0F376B
Tritanopia (blue-blind)
#483143
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d206d;
/* rgb */ color: rgb(77, 32, 109);
/* oklch */ color: oklch(34.9% 0.130 307.8);
Tailwind
colors: {
  custom: {
    50: '#825f97',
    500: '#4d206d',
    950: '#000000',
  },
}
SCSS
$custom: #4d206d;
$custom-light: #825f97;
$custom-dark: #000000;
JSON
{
  "hex": "#4d206d",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 275.065,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.1298,
    "h": 307.8
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#4D206D
secondary
#6DA148
accent
#DE4A87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4D206D

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

Preview Lab → · Contrast checker → · Palette generator →

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