#A6259A#A6259A

#A6259A is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.205 H 332.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A6259A
RGBrgb(166, 37, 154)
HSLhsl(306, 64%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 77.7%, 7.2%, 34.9%)
CIE-LABlab(40.84, 63.02, -34.51)
CIE-LCHlch(40.84, 71.84, 331.29°)
OKLaboklab(51.72% 0.1812 -0.0949)
OKLCHoklch(51.72% 0.205 332.4)
XYZxyz(22.2203, 11.7651, 31.6662)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6259A #25A631
analogous
#7125A6 #A6259A #A6255A
triadic
#A6259A #9AA625 #259AA6
tetradic
#A6259A #A67125 #25A631 #255AA6
square
#A6259A #A67125 #25A631 #255AA6
split-complementary
#A6259A #5AA625 #25A671
monochromatic
#420F3D #741A6C #A6259A #D236C4 #DD68D2

Accessibility & contrast

On white

6.26
#A6259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A6259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6259A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6259A#FFFFFF#000000##FFFFFF
##A6259A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#AD355E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6259a;
/* rgb */ color: rgb(166, 37, 154);
/* oklch */ color: oklch(51.7% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46fb8',
    500: '#a6259a',
    950: '#000000',
  },
}
SCSS
$custom: #a6259a;
$custom-light: #c46fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6259a",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 305.581,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.20457,
    "h": 332.4
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#A6259A
secondary
#64C36C
accent
#E75141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6259A

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

Preview Lab → · Contrast checker → · Palette generator →

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