#A6239D#A6239D

#A6239D is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.209 H 331.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A6239D
RGBrgb(166, 35, 157)
HSLhsl(304, 65%, 39%)
HSVhsv(304, 79%, 65%)
CMYKcmyk(0%, 78.9%, 5.4%, 34.9%)
CIE-LABlab(40.81, 64.04, -36.37)
CIE-LCHlch(40.81, 73.65, 330.41°)
OKLaboklab(51.75% 0.1829 -0.1003)
OKLCHoklch(51.75% 0.209 331.3)
XYZxyz(22.4127, 11.7452, 32.9784)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239D #23A62C
analogous
#6E23A6 #A6239D #A6235C
triadic
#A6239D #9DA623 #239DA6
tetradic
#A6239D #A66E23 #23A62C #235CA6
square
#A6239D #A66E23 #23A62C #235CA6
split-complementary
#A6239D #5CA623 #23A66E
monochromatic
#410E3D #73186D #A6239D #D432C9 #DF65D6

Accessibility & contrast

On white

6.27
#A6239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6239D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6239D#FFFFFF#000000##FFFFFF
##A6239D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#4F669A
Tritanopia (blue-blind)
#AD3560
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239d;
/* rgb */ color: rgb(166, 35, 157);
/* oklch */ color: oklch(51.7% 0.209 331.3);
Tailwind
colors: {
  custom: {
    50: '#c46eba',
    500: '#a6239d',
    950: '#000000',
  },
}
SCSS
$custom: #a6239d;
$custom-light: #c46eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239d",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 304.122,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.2086,
    "h": 331.3
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#A6239D
secondary
#61C468
accent
#E84B40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6239D

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

Preview Lab → · Contrast checker → · Palette generator →

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