#A6309A#A6309A

#A6309A is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.193 H 332.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A6309A
RGBrgb(166, 48, 154)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 71.1%, 7.2%, 34.9%)
CIE-LABlab(42.09, 59.46, -32.54)
CIE-LCHlch(42.09, 67.78, 331.31°)
OKLaboklab(52.61% 0.1709 -0.0893)
OKLCHoklch(52.61% 0.193 332.4)
XYZxyz(22.6156, 12.5558, 31.7980)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6309A #30A63C
analogous
#7730A6 #A6309A #A6305F
triadic
#A6309A #9AA630 #309AA6
tetradic
#A6309A #A67730 #30A63C #305FA6
square
#A6309A #A67730 #30A63C #305FA6
split-complementary
#A6309A #5FA630 #30A677
monochromatic
#471542 #77226E #A6309A #CA49BD #D878CE

Accessibility & contrast

On white

5.98
#A6309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A6309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6309A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6309A#FFFFFF#000000##FFFFFF
##A6309A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#AD3C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6309a;
/* rgb */ color: rgb(166, 48, 154);
/* oklch */ color: oklch(52.6% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#c473b8',
    500: '#a6309a',
    950: '#000000',
  },
}
SCSS
$custom: #a6309a;
$custom-light: #c473b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6309a",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 306.102,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.19281,
    "h": 332.4
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#A6309A
secondary
#71C07A
accent
#DE5849
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A6309A

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

Preview Lab → · Contrast checker → · Palette generator →

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