#A6259C#A6259C

#A6259C is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 331.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A6259C
RGBrgb(166, 37, 156)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 77.7%, 6%, 34.9%)
CIE-LABlab(40.95, 63.32, -35.54)
CIE-LCHlch(40.95, 72.62, 330.69°)
OKLaboklab(51.83% 0.1813 -0.0979)
OKLCHoklch(51.83% 0.206 331.6)
XYZxyz(22.3882, 11.8323, 32.5508)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6259C #25A62F
analogous
#6F25A6 #A6259C #A6255C
triadic
#A6259C #9CA625 #259CA6
tetradic
#A6259C #A66F25 #25A62F #255CA6
square
#A6259C #A66F25 #25A62F #255CA6
split-complementary
#A6259C #5CA625 #25A66F
monochromatic
#420F3E #741A6D #A6259C #D236C6 #DD68D4

Accessibility & contrast

On white

6.24
#A6259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A6259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6259C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6259C#FFFFFF#000000##FFFFFF
##A6259C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#AD365F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6259c;
/* rgb */ color: rgb(166, 37, 156);
/* oklch */ color: oklch(51.8% 0.206 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46fb9',
    500: '#a6259c',
    950: '#000000',
  },
}
SCSS
$custom: #a6259c;
$custom-light: #c46fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6259c",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 304.651,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.20602,
    "h": 331.6
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#A6259C
secondary
#64C36B
accent
#E74E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6259C

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

Preview Lab → · Contrast checker → · Palette generator →

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