#A4279D#A4279D

#A4279D is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.204 H 330.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A4279D
RGBrgb(164, 39, 157)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 76%, 64%)
CMYKcmyk(0%, 76.2%, 4.3%, 35.7%)
CIE-LABlab(40.86, 62.46, -36.30)
CIE-LCHlch(40.86, 72.24, 329.83°)
OKLaboklab(51.72% 0.1775 -0.1002)
OKLCHoklch(51.72% 0.204 330.6)
XYZxyz(22.1211, 11.7796, 33.0004)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4279D #27A42E
analogous
#6D27A4 #A4279D #A4275F
triadic
#A4279D #9DA427 #279DA4
tetradic
#A4279D #A46D27 #27A42E #275FA4
square
#A4279D #A46D27 #27A42E #275FA4
split-complementary
#A4279D #5FA427 #27A46D
monochromatic
#410F3E #731B6E #A4279D #D038C7 #DC6AD5

Accessibility & contrast

On white

6.26
#A4279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A4279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4279D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4279D#FFFFFF#000000##FFFFFF
##A4279D1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#AA3860
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a4279d;
/* rgb */ color: rgb(164, 39, 157);
/* oklch */ color: oklch(51.7% 0.204 330.6);
Tailwind
colors: {
  custom: {
    50: '#c370ba',
    500: '#a4279d',
    950: '#000000',
  },
}
SCSS
$custom: #a4279d;
$custom-light: #c370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a4279d",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 303.36,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.20382,
    "h": 330.6
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#A4279D
secondary
#65C26A
accent
#E54C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A4279D

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

Preview Lab → · Contrast checker → · Palette generator →

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