#A6219F#A6219F

#A6219F is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.212 H 330.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A6219F
RGBrgb(166, 33, 159)
HSLhsl(303, 67%, 39%)
HSVhsv(303, 80%, 65%)
CMYKcmyk(0%, 80.1%, 4.2%, 34.9%)
CIE-LABlab(40.73, 64.88, -37.69)
CIE-LCHlch(40.73, 75.04, 329.85°)
OKLaboklab(51.73% 0.1844 -0.1041)
OKLCHoklch(51.73% 0.212 330.6)
XYZxyz(22.5277, 11.6997, 33.8660)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6219F #21A628
analogous
#6B21A6 #A6219F #A6215D
triadic
#A6219F #9FA621 #219FA6
tetradic
#A6219F #A66B21 #21A628 #215DA6
square
#A6219F #A66B21 #21A628 #215DA6
split-complementary
#A6219F #5DA621 #21A66B
monochromatic
#400D3D #73176E #A6219F #D62FCD #E062D9

Accessibility & contrast

On white

6.29
#A6219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A6219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6219F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6219F#FFFFFF#000000##FFFFFF
##A6219F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#AD3560
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6219f;
/* rgb */ color: rgb(166, 33, 159);
/* oklch */ color: oklch(51.7% 0.212 330.6);
Tailwind
colors: {
  custom: {
    50: '#c46ebc',
    500: '#a6219f',
    950: '#000000',
  },
}
SCSS
$custom: #a6219f;
$custom-light: #c46ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6219f",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 303.158,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.21179,
    "h": 330.6
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#A6219F
secondary
#5EC564
accent
#EA473E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6219F

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

Preview Lab → · Contrast checker → · Palette generator →

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