#4A219D#4A219D

#4A219D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.183 H 290.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4A219D
RGBrgb(74, 33, 157)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 62%)
CMYKcmyk(52.9%, 79%, 0%, 38.4%)
CIE-LABlab(26.67, 47.72, -59.89)
CIE-LCHlch(26.67, 76.58, 308.55°)
OKLaboklab(38.95% 0.0631 -0.1722)
OKLCHoklch(38.95% 0.183 290.1)
XYZxyz(9.4519, 4.9775, 32.3545)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A219D #749D21
analogous
#21369D #4A219D #88219D
triadic
#4A219D #9D4A21 #219D4A
tetradic
#4A219D #9D2136 #749D21 #219D88
square
#4A219D #9D2136 #749D21 #219D88
split-complementary
#4A219D #9D8821 #369D21
monochromatic
#1A0C38 #32166A #4A219D #622CD0 #865CDD

Accessibility & contrast

On white

10.52
#4A219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A219D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A219D#FFFFFF#000000##FFFFFF
##4A219D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#2B445F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a219d;
/* rgb */ color: rgb(74, 33, 157);
/* oklch */ color: oklch(38.9% 0.183 290.1);
Tailwind
colors: {
  custom: {
    50: '#8662bb',
    500: '#4a219d',
    950: '#000000',
  },
}
SCSS
$custom: #4a219d;
$custom-light: #8662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a219d",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 259.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.18337,
    "h": 290.1
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A219D

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

Preview Lab → · Contrast checker → · Palette generator →

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