#4D207D#4D207D

#4D207D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.148 H 301.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4D207D
RGBrgb(77, 32, 125)
HSLhsl(269, 59%, 31%)
HSVhsv(269, 74%, 49%)
CMYKcmyk(38.4%, 74.4%, 0%, 51%)
CIE-LABlab(23.97, 40.03, -44.40)
CIE-LCHlch(23.97, 59.78, 312.04°)
OKLaboklab(36.24% 0.0771 -0.1266)
OKLCHoklch(36.24% 0.148 301.3)
XYZxyz(7.2779, 4.0914, 19.8044)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D207D #507D20
analogous
#20217D #4D207D #7B207D
triadic
#4D207D #7D4D20 #207D4D
tetradic
#4D207D #7D2021 #507D20 #207D7B
square
#4D207D #7D2021 #507D20 #207D7B
split-complementary
#4D207D #7D7B20 #217D20
monochromatic
#11071C #2F144C #4D207D #6B2CAE #8947D0

Accessibility & contrast

On white

11.55
#4D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D207D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D207D#FFFFFF#000000##FFFFFF
##4D207D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#43374C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d207d;
/* rgb */ color: rgb(77, 32, 125);
/* oklch */ color: oklch(36.2% 0.148 301.3);
Tailwind
colors: {
  custom: {
    50: '#8460a3',
    500: '#4d207d',
    950: '#000000',
  },
}
SCSS
$custom: #4d207d;
$custom-light: #8460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d207d",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 269.032,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.14822,
    "h": 301.3
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#4D207D
secondary
#7EB049
accent
#E24596
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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