#A6239F#A6239F

#A6239F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.210 H 330.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A6239F
RGBrgb(166, 35, 159)
HSLhsl(303, 65%, 39%)
HSVhsv(303, 79%, 65%)
CMYKcmyk(0%, 78.9%, 4.2%, 34.9%)
CIE-LABlab(40.92, 64.35, -37.40)
CIE-LCHlch(40.92, 74.43, 329.84°)
OKLaboklab(51.86% 0.1829 -0.1033)
OKLCHoklch(51.86% 0.21 330.5)
XYZxyz(22.5849, 11.8141, 33.8850)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239F #23A62A
analogous
#6C23A6 #A6239F #A6235E
triadic
#A6239F #9FA623 #239FA6
tetradic
#A6239F #A66C23 #23A62A #235EA6
square
#A6239F #A66C23 #23A62A #235EA6
split-complementary
#A6239F #5EA623 #23A66C
monochromatic
#410E3E #73186F #A6239F #D432CB #DF65D8

Accessibility & contrast

On white

6.25
#A6239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6239F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6239F#FFFFFF#000000##FFFFFF
##A6239F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#AD3661
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239f;
/* rgb */ color: rgb(166, 35, 159);
/* oklch */ color: oklch(51.9% 0.210 330.5);
Tailwind
colors: {
  custom: {
    50: '#c46ebc',
    500: '#a6239f',
    950: '#000000',
  },
}
SCSS
$custom: #a6239f;
$custom-light: #c46ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239f",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 303.206,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.21005,
    "h": 330.5
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#A6239F
secondary
#61C466
accent
#E84940
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A6239F

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

Preview Lab → · Contrast checker → · Palette generator →

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