#4D208D#4D208D

#4D208D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.166 H 296.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4D208D
RGBrgb(77, 32, 141)
HSLhsl(265, 63%, 34%)
HSVhsv(265, 77%, 55%)
CMYKcmyk(45.4%, 77.3%, 0%, 44.7%)
CIE-LABlab(25.36, 44.28, -52.17)
CIE-LCHlch(25.36, 68.43, 310.32°)
OKLaboklab(37.66% 0.0733 -0.1494)
OKLCHoklch(37.66% 0.166 296.1)
XYZxyz(8.3835, 4.5337, 25.6275)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D208D #608D20
analogous
#20298D #4D208D #84208D
triadic
#4D208D #8D4D20 #208D4D
tetradic
#4D208D #8D2029 #608D20 #208D84
square
#4D208D #8D2029 #608D20 #208D84
split-complementary
#4D208D #8D8420 #298D20
monochromatic
#170929 #32155B #4D208D #682BBF #8850D7

Accessibility & contrast

On white

11.01
#4D208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D208D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D208D#FFFFFF#000000##FFFFFF
##4D208D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#3B3D55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d208d;
/* rgb */ color: rgb(77, 32, 141);
/* oklch */ color: oklch(37.7% 0.166 296.1);
Tailwind
colors: {
  custom: {
    50: '#8561af',
    500: '#4d208d',
    950: '#000000',
  },
}
SCSS
$custom: #4d208d;
$custom-light: #8561af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d208d",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 264.771,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.16642,
    "h": 296.1
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#4D208D
secondary
#8EBA4E
accent
#E642A2
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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