#A1239D#A1239D

#A1239D is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.206 H 329.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A1239D
RGBrgb(161, 35, 157)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 63%)
CMYKcmyk(0%, 78.3%, 2.5%, 36.9%)
CIE-LABlab(39.94, 62.98, -37.80)
CIE-LCHlch(39.94, 73.45, 329.03°)
OKLaboklab(50.96% 0.1777 -0.1046)
OKLCHoklch(50.96% 0.206 329.5)
XYZxyz(21.3846, 11.2151, 32.9302)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1239D #23A127
analogous
#6623A1 #A1239D #A1235E
triadic
#A1239D #9DA123 #239DA1
tetradic
#A1239D #A16623 #23A127 #235EA1
square
#A1239D #A16623 #23A127 #235EA1
split-complementary
#A1239D #5EA123 #23A166
monochromatic
#3C0D3B #6F186C #A1239D #D22FCD #DD62D9

Accessibility & contrast

On white

6.48
#A1239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A1239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1239D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1239D#FFFFFF#000000##FFFFFF
##A1239D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#A73660
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1239d;
/* rgb */ color: rgb(161, 35, 157);
/* oklch */ color: oklch(51.0% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a1239d',
    950: '#000000',
  },
}
SCSS
$custom: #a1239d;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1239d",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 301.905,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.2062,
    "h": 329.5
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#A1239D
secondary
#5EC261
accent
#E74641
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A1239D

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

Preview Lab → · Contrast checker → · Palette generator →

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