#4D208F#4D208F

#4D208F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.169 H 295.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#4D208F
RGBrgb(77, 32, 143)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 78%, 56%)
CMYKcmyk(46.2%, 77.6%, 0%, 43.9%)
CIE-LABlab(25.54, 44.82, -53.11)
CIE-LCHlch(25.54, 69.50, 310.16°)
OKLaboklab(37.84% 0.0727 -0.1522)
OKLCHoklch(37.84% 0.169 295.5)
XYZxyz(8.5337, 4.5938, 26.4183)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D208F #628F20
analogous
#202B8F #4D208F #85208F
triadic
#4D208F #8F4D20 #208F4D
tetradic
#4D208F #8F202B #628F20 #208F85
square
#4D208F #8F202B #628F20 #208F85
split-complementary
#4D208F #8F8520 #2B8F20
monochromatic
#170A2B #32155D #4D208F #682BC1 #8851D8

Accessibility & contrast

On white

10.94
#4D208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4D208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D208F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D208F#FFFFFF#000000##FFFFFF
##4D208F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#3A3E56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4d208f;
/* rgb */ color: rgb(77, 32, 143);
/* oklch */ color: oklch(37.8% 0.169 295.5);
Tailwind
colors: {
  custom: {
    50: '#8661b1',
    500: '#4d208f',
    950: '#000000',
  },
}
SCSS
$custom: #4d208f;
$custom-light: #8661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d208f",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 264.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.16868,
    "h": 295.5
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#4D208F
secondary
#90BB4F
accent
#E641A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D208F

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

Preview Lab → · Contrast checker → · Palette generator →

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