#4D219C#4D219C

#4D219C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.182 H 292.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4D219C
RGBrgb(77, 33, 156)
HSLhsl(261, 65%, 37%)
HSVhsv(261, 79%, 61%)
CMYKcmyk(50.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(26.92, 47.88, -58.86)
CIE-LCHlch(26.92, 75.87, 309.13°)
OKLaboklab(39.17% 0.0681 -0.169)
OKLCHoklch(39.17% 0.182 292)
XYZxyz(9.6035, 5.0654, 31.9178)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D219C #709C21
analogous
#21339C #4D219C #8A219C
triadic
#4D219C #9C4D21 #219C4D
tetradic
#4D219C #9C2133 #709C21 #219C8A
square
#4D219C #9C2133 #709C21 #219C8A
split-complementary
#4D219C #9C8A21 #339C21
monochromatic
#1B0C37 #341669 #4D219C #662CCF #895BDC

Accessibility & contrast

On white

10.43
#4D219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4D219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D219C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D219C#FFFFFF#000000##FFFFFF
##4D219C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#33445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d219c;
/* rgb */ color: rgb(77, 33, 156);
/* oklch */ color: oklch(39.2% 0.182 292.0);
Tailwind
colors: {
  custom: {
    50: '#8762ba',
    500: '#4d219c',
    950: '#000000',
  },
}
SCSS
$custom: #4d219c;
$custom-light: #8762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d219c",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 261.463,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.18224,
    "h": 292
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#4D219C
secondary
#9BC158
accent
#E840AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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