#A42790#A42790

#A42790 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 335.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A42790
RGBrgb(164, 39, 144)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 76%, 64%)
CMYKcmyk(0%, 76.2%, 12.2%, 35.7%)
CIE-LABlab(40.18, 60.46, -29.50)
CIE-LCHlch(40.18, 67.27, 333.99°)
OKLaboklab(51.01% 0.1769 -0.0806)
OKLCHoklch(51.01% 0.194 335.5)
XYZxyz(21.0697, 11.3591, 27.4630)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42790 #27A43B
analogous
#7A27A4 #A42790 #A42752
triadic
#A42790 #90A427 #2790A4
tetradic
#A42790 #A47A27 #27A43B #2752A4
square
#A42790 #A47A27 #27A43B #2752A4
split-complementary
#A42790 #52A427 #27A47A
monochromatic
#410F39 #731B65 #A42790 #D038B8 #DC6AC9

Accessibility & contrast

On white

6.42
#A42790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A42790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42790
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42790#FFFFFF#000000##FFFFFF
##A427901.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#55658D
Tritanopia (blue-blind)
#AC3159
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42790;
/* rgb */ color: rgb(164, 39, 144);
/* oklch */ color: oklch(51.0% 0.194 335.5);
Tailwind
colors: {
  custom: {
    50: '#c36fb1',
    500: '#a42790',
    950: '#000000',
  },
}
SCSS
$custom: #a42790;
$custom-light: #c36fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42790",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 309.6,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.19439,
    "h": 335.5
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#A42790
secondary
#65C274
accent
#E55D43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42790

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

Preview Lab → · Contrast checker → · Palette generator →

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