#A6219A#A6219A

#A6219A is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.208 H 332.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A6219A
RGBrgb(166, 33, 154)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80.1%, 7.2%, 34.9%)
CIE-LABlab(40.46, 64.12, -35.11)
CIE-LCHlch(40.46, 73.10, 331.29°)
OKLaboklab(51.44% 0.1844 -0.0966)
OKLCHoklch(51.44% 0.208 332.3)
XYZxyz(22.1026, 11.5297, 31.6270)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6219A #21A62D
analogous
#7021A6 #A6219A #A62157
triadic
#A6219A #9AA621 #219AA6
tetradic
#A6219A #A67021 #21A62D #2157A6
square
#A6219A #A67021 #21A62D #2157A6
split-complementary
#A6219A #57A621 #21A670
monochromatic
#400D3B #73176B #A6219A #D62FC7 #E062D4

Accessibility & contrast

On white

6.35
#A6219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A6219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6219A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6219A#FFFFFF#000000##FFFFFF
##A6219A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AD325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6219a;
/* rgb */ color: rgb(166, 33, 154);
/* oklch */ color: oklch(51.4% 0.208 332.3);
Tailwind
colors: {
  custom: {
    50: '#c46eb8',
    500: '#a6219a',
    950: '#000000',
  },
}
SCSS
$custom: #a6219a;
$custom-light: #c46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6219a",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 305.414,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.20821,
    "h": 332.3
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#A6219A
secondary
#5EC567
accent
#EA4E3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6219A

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

Preview Lab → · Contrast checker → · Palette generator →

#A6219A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva