#4D219A#4D219A

#4D219A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.180 H 292.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4D219A
RGBrgb(77, 33, 154)
HSLhsl(262, 65%, 37%)
HSVhsv(262, 79%, 60%)
CMYKcmyk(50%, 78.6%, 0%, 39.6%)
CIE-LABlab(26.73, 47.34, -57.95)
CIE-LCHlch(26.73, 74.82, 309.24°)
OKLaboklab(38.98% 0.0687 -0.1664)
OKLCHoklch(38.98% 0.18 292.4)
XYZxyz(9.4355, 4.9982, 31.0332)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D219A #6E9A21
analogous
#21329A #4D219A #8A219A
triadic
#4D219A #9A4D21 #219A4D
tetradic
#4D219A #9A2132 #6E9A21 #219A8A
square
#4D219A #9A2132 #6E9A21 #219A8A
split-complementary
#4D219A #9A8A21 #329A21
monochromatic
#1B0B35 #341668 #4D219A #662CCC #895ADC

Accessibility & contrast

On white

10.50
#4D219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D219A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D219A#FFFFFF#000000##FFFFFF
##4D219A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#34435D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d219a;
/* rgb */ color: rgb(77, 33, 154);
/* oklch */ color: oklch(39.0% 0.180 292.4);
Tailwind
colors: {
  custom: {
    50: '#8762b9',
    500: '#4d219a',
    950: '#000000',
  },
}
SCSS
$custom: #4d219a;
$custom-light: #8762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d219a",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 261.818,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.18001,
    "h": 292.4
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#4D219A
secondary
#9AC057
accent
#E840AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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