#A6239A#A6239A

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

Color values

HEX#A6239A
RGBrgb(166, 35, 154)
HSLhsl(305, 65%, 39%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 78.9%, 7.2%, 34.9%)
CIE-LABlab(40.64, 63.58, -34.82)
CIE-LCHlch(40.64, 72.49, 331.29°)
OKLaboklab(51.58% 0.1829 -0.0958)
OKLCHoklch(51.58% 0.206 332.3)
XYZxyz(22.1597, 11.6440, 31.6460)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239A #23A62F
analogous
#7123A6 #A6239A #A62359
triadic
#A6239A #9AA623 #239AA6
tetradic
#A6239A #A67123 #23A62F #2359A6
square
#A6239A #A67123 #23A62F #2359A6
split-complementary
#A6239A #59A623 #23A671
monochromatic
#410E3C #73186B #A6239A #D432C5 #DF65D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6239A#FFFFFF#000000##FFFFFF
##A6239A1.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)
#19549D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AD335E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239a;
/* rgb */ color: rgb(166, 35, 154);
/* oklch */ color: oklch(51.6% 0.206 332.3);
Tailwind
colors: {
  custom: {
    50: '#c46eb8',
    500: '#a6239a',
    950: '#000000',
  },
}
SCSS
$custom: #a6239a;
$custom-light: #c46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239a",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 305.496,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.20643,
    "h": 332.3
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#A6239A
secondary
#61C46A
accent
#E84F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6239A

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

Preview Lab → · Contrast checker → · Palette generator →

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