#A3288F#A3288F

#A3288F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.192 H 335.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A3288F
RGBrgb(163, 40, 143)
HSLhsl(310, 61%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 75.5%, 12.3%, 36.1%)
CIE-LABlab(40.06, 59.76, -29.09)
CIE-LCHlch(40.06, 66.46, 334.05°)
OKLaboklab(50.88% 0.1749 -0.0794)
OKLCHoklch(50.88% 0.192 335.6)
XYZxyz(20.8213, 11.2892, 27.0637)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3288F #28A33C
analogous
#7928A3 #A3288F #A32852
triadic
#A3288F #8FA328 #288FA3
tetradic
#A3288F #A37928 #28A33C #2852A3
square
#A3288F #A37928 #28A33C #2852A3
split-complementary
#A3288F #52A328 #28A379
monochromatic
#411039 #721C64 #A3288F #CF3AB6 #DB6BC8

Accessibility & contrast

On white

6.45
#A3288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A3288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3288F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3288F#FFFFFF#000000##FFFFFF
##A3288F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AB3259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a3288f;
/* rgb */ color: rgb(163, 40, 143);
/* oklch */ color: oklch(50.9% 0.192 335.6);
Tailwind
colors: {
  custom: {
    50: '#c26fb0',
    500: '#a3288f',
    950: '#000000',
  },
}
SCSS
$custom: #a3288f;
$custom-light: #c26fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a3288f",
  "rgb": {
    "r": 163,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 309.756,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.19208,
    "h": 335.6
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#A3288F
secondary
#66C175
accent
#E45E44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3288F

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

Preview Lab → · Contrast checker → · Palette generator →

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