#4A219E#4A219E

#4A219E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 289.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4A219E
RGBrgb(74, 33, 158)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 62%)
CMYKcmyk(53.2%, 79.1%, 0%, 38%)
CIE-LABlab(26.77, 48.00, -60.34)
CIE-LCHlch(26.77, 77.10, 308.50°)
OKLaboklab(39.05% 0.0628 -0.1735)
OKLCHoklch(39.05% 0.185 289.9)
XYZxyz(9.5377, 5.0118, 32.8059)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A219E #759E21
analogous
#21379E #4A219E #89219E
triadic
#4A219E #9E4A21 #219E4A
tetradic
#4A219E #9E2137 #759E21 #219E89
square
#4A219E #9E2137 #759E21 #219E89
split-complementary
#4A219E #9E8921 #379E21
monochromatic
#1B0C39 #32166B #4A219E #622CD1 #875CDD

Accessibility & contrast

On white

10.49
#4A219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A219E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A219E#FFFFFF#000000##FFFFFF
##4A219E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#2B455F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a219e;
/* rgb */ color: rgb(74, 33, 158);
/* oklch */ color: oklch(39.0% 0.184 289.9);
Tailwind
colors: {
  custom: {
    50: '#8662bc',
    500: '#4a219e',
    950: '#000000',
  },
}
SCSS
$custom: #4a219e;
$custom-light: #8662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a219e",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 259.68,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.1845,
    "h": 289.9
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A219E

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

Preview Lab → · Contrast checker → · Palette generator →

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