#4C219C#4C219C

#4C219C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.182 H 291.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4C219C
RGBrgb(76, 33, 156)
HSLhsl(261, 65%, 37%)
HSVhsv(261, 79%, 61%)
CMYKcmyk(51.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(26.80, 47.73, -59.05)
CIE-LCHlch(26.80, 75.93, 308.95°)
OKLaboklab(39.06% 0.0666 -0.1696)
OKLCHoklch(39.06% 0.182 291.4)
XYZxyz(9.5234, 5.0241, 31.9140)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C219C #719C21
analogous
#21339C #4C219C #8A219C
triadic
#4C219C #9C4C21 #219C4C
tetradic
#4C219C #9C2133 #719C21 #219C8A
square
#4C219C #9C2133 #719C21 #219C8A
split-complementary
#4C219C #9C8A21 #339C21
monochromatic
#1B0C37 #331669 #4C219C #652CCF #885BDC

Accessibility & contrast

On white

10.47
#4C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C219C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C219C#FFFFFF#000000##FFFFFF
##4C219C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#31445E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c219c;
/* rgb */ color: rgb(76, 33, 156);
/* oklch */ color: oklch(39.1% 0.182 291.4);
Tailwind
colors: {
  custom: {
    50: '#8762ba',
    500: '#4c219c',
    950: '#000000',
  },
}
SCSS
$custom: #4c219c;
$custom-light: #8762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c219c",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 260.976,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.18223,
    "h": 291.4
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#4C219C
secondary
#9CC158
accent
#E840AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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