#4D208A#4D208A

#4D208A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.163 H 297.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4D208A
RGBrgb(77, 32, 138)
HSLhsl(265, 62%, 33%)
HSVhsv(265, 77%, 54%)
CMYKcmyk(44.2%, 76.8%, 0%, 45.9%)
CIE-LABlab(25.09, 43.48, -50.74)
CIE-LCHlch(25.09, 66.82, 310.59°)
OKLaboklab(37.38% 0.0741 -0.1452)
OKLCHoklch(37.38% 0.163 297)
XYZxyz(8.1633, 4.4456, 24.4678)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D208A #5D8A20
analogous
#20288A #4D208A #82208A
triadic
#4D208A #8A4D20 #208A4D
tetradic
#4D208A #8A2028 #5D8A20 #208A82
square
#4D208A #8A2028 #5D8A20 #208A82
split-complementary
#4D208A #8A8220 #288A20
monochromatic
#160927 #311458 #4D208A #692CBC #884ED6

Accessibility & contrast

On white

11.12
#4D208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D208A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D208A#FFFFFF#000000##FFFFFF
##4D208A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#3D3C53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d208a;
/* rgb */ color: rgb(77, 32, 138);
/* oklch */ color: oklch(37.4% 0.163 297.0);
Tailwind
colors: {
  custom: {
    50: '#8560ad',
    500: '#4d208a',
    950: '#000000',
  },
}
SCSS
$custom: #4d208a;
$custom-light: #8560ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d208a",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 265.472,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.16303,
    "h": 297
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#4D208A
secondary
#8BB94D
accent
#E542A0
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D208A

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

Preview Lab → · Contrast checker → · Palette generator →

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