#4D216A#4D216A

#4D216A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.125 H 309.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#4D216A
RGBrgb(77, 33, 106)
HSLhsl(276, 53%, 27%)
HSVhsv(276, 69%, 42%)
CMYKcmyk(27.4%, 68.9%, 0%, 58.4%)
CIE-LABlab(22.68, 34.63, -34.31)
CIE-LCHlch(22.68, 48.75, 315.26°)
OKLaboklab(34.85% 0.0786 -0.097)
OKLCHoklch(34.85% 0.125 309)
XYZxyz(6.2054, 3.7062, 14.0213)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D216A #3E6A21
analogous
#28216A #4D216A #6A2163
triadic
#4D216A #6A4D21 #216A4D
tetradic
#4D216A #6A2821 #3E6A21 #21636A
square
#4D216A #6A2821 #3E6A21 #21636A
split-complementary
#4D216A #636A21 #216A28
monochromatic
#110717 #2B123B #4D216A #6F3099 #9041C4

Accessibility & contrast

On white

12.06
#4D216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D216A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D216A#FFFFFF#000000##FFFFFF
##4D216A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#493042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d216a;
/* rgb */ color: rgb(77, 33, 106);
/* oklch */ color: oklch(34.8% 0.125 309.0);
Tailwind
colors: {
  custom: {
    50: '#826095',
    500: '#4d216a',
    950: '#000000',
  },
}
SCSS
$custom: #4d216a;
$custom-light: #826095;
$custom-dark: #000000;
JSON
{
  "hex": "#4d216a",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 276.164,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34849,
    "c": 0.12484,
    "h": 309
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#4D216A
secondary
#6B9E49
accent
#DC4C85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4D216A

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

Preview Lab → · Contrast checker → · Palette generator →

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