#A6219B#A6219B

#A6219B is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.209 H 332.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A6219B
RGBrgb(166, 33, 155)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80.1%, 6.6%, 34.9%)
CIE-LABlab(40.51, 64.27, -35.63)
CIE-LCHlch(40.51, 73.48, 331.00°)
OKLaboklab(51.5% 0.1844 -0.0981)
OKLCHoklch(51.5% 0.209 332)
XYZxyz(22.1862, 11.5631, 32.0674)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6219B #21A62C
analogous
#6F21A6 #A6219B #A62159
triadic
#A6219B #9BA621 #219BA6
tetradic
#A6219B #A66F21 #21A62C #2159A6
square
#A6219B #A66F21 #21A62C #2159A6
split-complementary
#A6219B #59A621 #21A66F
monochromatic
#400D3C #73176B #A6219B #D62FC8 #E062D5

Accessibility & contrast

On white

6.34
#A6219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6219B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6219B#FFFFFF#000000##FFFFFF
##A6219B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#AD335E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6219b;
/* rgb */ color: rgb(166, 33, 155);
/* oklch */ color: oklch(51.5% 0.209 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a6219b',
    950: '#000000',
  },
}
SCSS
$custom: #a6219b;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6219b",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 304.962,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.20892,
    "h": 332
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6219B

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

Preview Lab → · Contrast checker → · Palette generator →

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