#A6229C#A6229C

#A6229C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.209 H 331.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A6229C
RGBrgb(166, 34, 156)
HSLhsl(305, 66%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 79.5%, 6%, 34.9%)
CIE-LABlab(40.66, 64.16, -36.00)
CIE-LCHlch(40.66, 73.57, 330.70°)
OKLaboklab(51.62% 0.1837 -0.0992)
OKLCHoklch(51.62% 0.209 331.6)
XYZxyz(22.2987, 11.6532, 32.5209)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6229C #22A62C
analogous
#6E22A6 #A6229C #A6225A
triadic
#A6229C #9CA622 #229CA6
tetradic
#A6229C #A66E22 #22A62C #225AA6
square
#A6229C #A66E22 #22A62C #225AA6
split-complementary
#A6229C #5AA622 #22A66E
monochromatic
#400D3D #73186C #A6229C #D530C8 #DF63D6

Accessibility & contrast

On white

6.31
#A6229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A6229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6229C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6229C#FFFFFF#000000##FFFFFF
##A6229C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AD345F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6229c;
/* rgb */ color: rgb(166, 34, 156);
/* oklch */ color: oklch(51.6% 0.209 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a6229c',
    950: '#000000',
  },
}
SCSS
$custom: #a6229c;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6229c",
  "rgb": {
    "r": 166,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 304.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.20876,
    "h": 331.6
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#A6229C
secondary
#5FC467
accent
#E94C3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6229C

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

Preview Lab → · Contrast checker → · Palette generator →

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