#4A219A#4A219A

#4A219A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.180 H 290.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#4A219A
RGBrgb(74, 33, 154)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 60%)
CMYKcmyk(51.9%, 78.6%, 0%, 39.6%)
CIE-LABlab(26.38, 46.89, -58.54)
CIE-LCHlch(26.38, 75.00, 308.70°)
OKLaboklab(38.66% 0.064 -0.1682)
OKLCHoklch(38.66% 0.18 290.8)
XYZxyz(9.1990, 4.8763, 31.0221)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A219A #719A21
analogous
#21349A #4A219A #87219A
triadic
#4A219A #9A4A21 #219A4A
tetradic
#4A219A #9A2134 #719A21 #219A87
square
#4A219A #9A2134 #719A21 #219A87
split-complementary
#4A219A #9A8721 #349A21
monochromatic
#1A0B35 #321668 #4A219A #622CCC #865ADC

Accessibility & contrast

On white

10.63
#4A219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A219A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A219A#FFFFFF#000000##FFFFFF
##4A219A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#2E435D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a219a;
/* rgb */ color: rgb(74, 33, 154);
/* oklch */ color: oklch(38.7% 0.180 290.8);
Tailwind
colors: {
  custom: {
    50: '#8562b9',
    500: '#4a219a',
    950: '#000000',
  },
}
SCSS
$custom: #4a219a;
$custom-light: #8562b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a219a",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 260.331,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.17997,
    "h": 290.8
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#4A219A
secondary
#9CC057
accent
#E840AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A219A

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

Preview Lab → · Contrast checker → · Palette generator →

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