#4A219C#4A219C

#4A219C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.182 H 290.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4A219C
RGBrgb(74, 33, 156)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 61%)
CMYKcmyk(52.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(26.57, 47.45, -59.44)
CIE-LCHlch(26.57, 76.06, 308.60°)
OKLaboklab(38.85% 0.0634 -0.1708)
OKLCHoklch(38.85% 0.182 290.4)
XYZxyz(9.3669, 4.9435, 31.9067)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A219C #739C21
analogous
#21369C #4A219C #88219C
triadic
#4A219C #9C4A21 #219C4A
tetradic
#4A219C #9C2136 #739C21 #219C88
square
#4A219C #9C2136 #739C21 #219C88
split-complementary
#4A219C #9C8821 #369C21
monochromatic
#1A0C37 #321669 #4A219C #622CCF #865BDC

Accessibility & contrast

On white

10.56
#4A219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4A219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A219C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A219C#FFFFFF#000000##FFFFFF
##4A219C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#2C445E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a219c;
/* rgb */ color: rgb(74, 33, 156);
/* oklch */ color: oklch(38.9% 0.182 290.4);
Tailwind
colors: {
  custom: {
    50: '#8662ba',
    500: '#4a219c',
    950: '#000000',
  },
}
SCSS
$custom: #4a219c;
$custom-light: #8662ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a219c",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 260,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.18224,
    "h": 290.4
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#4A219C
secondary
#9EC158
accent
#E840B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A219C

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

Preview Lab → · Contrast checker → · Palette generator →

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