#A6259D#A6259D

#A6259D is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 331.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A6259D
RGBrgb(166, 37, 157)
HSLhsl(304, 64%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 77.7%, 5.4%, 34.9%)
CIE-LABlab(41.00, 63.48, -36.06)
CIE-LCHlch(41.00, 73.01, 330.40°)
OKLaboklab(51.89% 0.1813 -0.0994)
OKLCHoklch(51.89% 0.207 331.3)
XYZxyz(22.4733, 11.8663, 32.9986)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6259D #25A62E
analogous
#6F25A6 #A6259D #A6255D
triadic
#A6259D #9DA625 #259DA6
tetradic
#A6259D #A66F25 #25A62E #255DA6
square
#A6259D #A66F25 #25A62E #255DA6
split-complementary
#A6259D #5DA625 #25A66F
monochromatic
#420F3E #741A6E #A6259D #D236C7 #DD68D5

Accessibility & contrast

On white

6.23
#A6259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6259D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6259D#FFFFFF#000000##FFFFFF
##A6259D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#4F679A
Tritanopia (blue-blind)
#AD3660
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6259d;
/* rgb */ color: rgb(166, 37, 157);
/* oklch */ color: oklch(51.9% 0.207 331.3);
Tailwind
colors: {
  custom: {
    50: '#c46fba',
    500: '#a6259d',
    950: '#000000',
  },
}
SCSS
$custom: #a6259d;
$custom-light: #c46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6259d",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 304.186,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.20675,
    "h": 331.3
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#A6259D
secondary
#64C36A
accent
#E74D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6259D

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

Preview Lab → · Contrast checker → · Palette generator →

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