#A42BA1#A42BA1

#A42BA1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.203 H 329.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A42BA1
RGBrgb(164, 43, 161)
HSLhsl(301, 58%, 41%)
HSVhsv(301, 74%, 64%)
CMYKcmyk(0%, 73.8%, 1.8%, 35.7%)
CIE-LABlab(41.52, 61.84, -37.66)
CIE-LCHlch(41.52, 72.40, 328.66°)
OKLaboklab(52.26% 0.1739 -0.1041)
OKLCHoklch(52.26% 0.203 329.1)
XYZxyz(22.6066, 12.1952, 34.8745)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BA1 #2BA42E
analogous
#6B2BA4 #A42BA1 #A42B64
triadic
#A42BA1 #A1A42B #2BA1A4
tetradic
#A42BA1 #A46B2B #2BA42E #2B64A4
square
#A42BA1 #A46B2B #2BA42E #2B64A4
split-complementary
#A42BA1 #64A42B #2BA46B
monochromatic
#431242 #741E71 #A42BA1 #CD3FC9 #D970D7

Accessibility & contrast

On white

6.11
#A42BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A42BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BA1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BA1#FFFFFF#000000##FFFFFF
##A42BA11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#AA3D64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42ba1;
/* rgb */ color: rgb(164, 43, 161);
/* oklch */ color: oklch(52.3% 0.203 329.1);
Tailwind
colors: {
  custom: {
    50: '#c371bd',
    500: '#a42ba1',
    950: '#000000',
  },
}
SCSS
$custom: #a42ba1;
$custom-light: #c371bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ba1",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 301.488,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.20272,
    "h": 329.1
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#A42BA1
secondary
#6AC16C
accent
#E24A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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