#A6229A#A6229A

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

Color values

HEX#A6229A
RGBrgb(166, 34, 154)
HSLhsl(305, 66%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 79.5%, 7.2%, 34.9%)
CIE-LABlab(40.55, 63.85, -34.97)
CIE-LCHlch(40.55, 72.80, 331.29°)
OKLaboklab(51.51% 0.1837 -0.0962)
OKLCHoklch(51.51% 0.207 332.3)
XYZxyz(22.1307, 11.5860, 31.6363)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6229A #22A62E
analogous
#7022A6 #A6229A #A62258
triadic
#A6229A #9AA622 #229AA6
tetradic
#A6229A #A67022 #22A62E #2258A6
square
#A6229A #A67022 #22A62E #2258A6
split-complementary
#A6229A #58A622 #22A670
monochromatic
#400D3C #73186B #A6229A #D530C6 #DF63D4

Accessibility & contrast

On white

6.33
#A6229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A6229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6229A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6229A#FFFFFF#000000##FFFFFF
##A6229A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AD335E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6229a;
/* rgb */ color: rgb(166, 34, 154);
/* oklch */ color: oklch(51.5% 0.207 332.3);
Tailwind
colors: {
  custom: {
    50: '#c46eb8',
    500: '#a6229a',
    950: '#000000',
  },
}
SCSS
$custom: #a6229a;
$custom-light: #c46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6229a",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 305.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.20734,
    "h": 332.3
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#A6229A
secondary
#5FC469
accent
#E94E3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6229A

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

Preview Lab → · Contrast checker → · Palette generator →

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