#A4279A#A4279A

#A4279A is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 331.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A4279A
RGBrgb(164, 39, 154)
HSLhsl(305, 62%, 40%)
HSVhsv(305, 76%, 64%)
CMYKcmyk(0%, 76.2%, 6.1%, 35.7%)
CIE-LABlab(40.70, 61.98, -34.75)
CIE-LCHlch(40.70, 71.06, 330.72°)
OKLaboklab(51.55% 0.1774 -0.0957)
OKLCHoklch(51.55% 0.202 331.7)
XYZxyz(21.8681, 11.6784, 31.6680)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4279A #27A431
analogous
#7027A4 #A4279A #A4275C
triadic
#A4279A #9AA427 #279AA4
tetradic
#A4279A #A47027 #27A431 #275CA4
square
#A4279A #A47027 #27A431 #275CA4
split-complementary
#A4279A #5CA427 #27A470
monochromatic
#410F3D #731B6C #A4279A #D038C4 #DC6AD2

Accessibility & contrast

On white

6.30
#A4279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A4279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4279A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4279A#FFFFFF#000000##FFFFFF
##A4279A1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AB365F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a4279a;
/* rgb */ color: rgb(164, 39, 154);
/* oklch */ color: oklch(51.6% 0.202 331.7);
Tailwind
colors: {
  custom: {
    50: '#c36fb8',
    500: '#a4279a',
    950: '#000000',
  },
}
SCSS
$custom: #a4279a;
$custom-light: #c36fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a4279a",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 304.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.2016,
    "h": 331.7
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#A4279A
secondary
#65C26C
accent
#E55043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A4279A

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

Preview Lab → · Contrast checker → · Palette generator →

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