#A02791#A02791

#A02791 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.193 H 333.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A02791
RGBrgb(160, 39, 145)
HSLhsl(307, 61%, 39%)
HSVhsv(307, 76%, 63%)
CMYKcmyk(0%, 75.6%, 9.4%, 37.3%)
CIE-LABlab(39.53, 59.68, -31.18)
CIE-LCHlch(39.53, 67.34, 332.42°)
OKLaboklab(50.43% 0.1729 -0.0855)
OKLCHoklch(50.43% 0.193 333.7)
XYZxyz(20.3337, 10.9707, 27.8292)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02791 #27A036
analogous
#7327A0 #A02791 #A02755
triadic
#A02791 #91A027 #2791A0
tetradic
#A02791 #A07327 #27A036 #2755A0
square
#A02791 #A07327 #27A036 #2755A0
split-complementary
#A02791 #55A027 #27A073
monochromatic
#3E0F38 #6F1B64 #A02791 #CE36BB #DA67CC

Accessibility & contrast

On white

6.58
#A02791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A02791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02791
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02791#FFFFFF#000000##FFFFFF
##A027911.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#A8335A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02791;
/* rgb */ color: rgb(160, 39, 145);
/* oklch */ color: oklch(50.4% 0.193 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06eb1',
    500: '#a02791',
    950: '#000000',
  },
}
SCSS
$custom: #a02791;
$custom-light: #c06eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02791",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 307.438,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.19291,
    "h": 333.7
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#A02791
secondary
#63C06E
accent
#E45844
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A02791

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

Preview Lab → · Contrast checker → · Palette generator →

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