#A6239E#A6239E

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

Color values

HEX#A6239E
RGBrgb(166, 35, 158)
HSLhsl(304, 65%, 39%)
HSVhsv(304, 79%, 65%)
CMYKcmyk(0%, 78.9%, 4.8%, 34.9%)
CIE-LABlab(40.86, 64.19, -36.88)
CIE-LCHlch(40.86, 74.04, 330.12°)
OKLaboklab(51.8% 0.1829 -0.1018)
OKLCHoklch(51.8% 0.209 330.9)
XYZxyz(22.4984, 11.7795, 33.4299)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239E #23A62B
analogous
#6D23A6 #A6239E #A6235D
triadic
#A6239E #9EA623 #239EA6
tetradic
#A6239E #A66D23 #23A62B #235DA6
square
#A6239E #A66D23 #23A62B #235DA6
split-complementary
#A6239E #5DA623 #23A66D
monochromatic
#410E3E #73186E #A6239E #D432CA #DF65D7

Accessibility & contrast

On white

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

On black

3.36
#A6239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A6239E#FFFFFF#000000##FFFFFF
##A6239E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#4E679B
Tritanopia (blue-blind)
#AD3560
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239e;
/* rgb */ color: rgb(166, 35, 158);
/* oklch */ color: oklch(51.8% 0.209 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46ebb',
    500: '#a6239e',
    950: '#000000',
  },
}
SCSS
$custom: #a6239e;
$custom-light: #c46ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239e",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 303.664,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.20932,
    "h": 330.9
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#A6239E
secondary
#61C467
accent
#E84A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6239E

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

Preview Lab → · Contrast checker → · Palette generator →

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