#A431B3#A431B3

#A431B3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.211 H 322.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A431B3
RGBrgb(164, 49, 179)
HSLhsl(293, 57%, 45%)
HSVhsv(293, 73%, 70%)
CMYKcmyk(8.4%, 72.6%, 0%, 29.8%)
CIE-LABlab(43.28, 62.89, -45.57)
CIE-LCHlch(43.28, 77.66, 324.07°)
OKLaboklab(53.85% 0.1678 -0.1272)
OKLCHoklch(53.85% 0.211 322.8)
XYZxyz(24.5440, 13.3452, 43.9222)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A431B3 #40B331
analogous
#6331B3 #A431B3 #B33181
triadic
#A431B3 #B3A431 #31B3A4
tetradic
#A431B3 #B36331 #40B331 #3181B3
square
#A431B3 #B36331 #40B331 #3181B3
split-complementary
#A431B3 #81B331 #31B363
monochromatic
#4C1753 #782483 #A431B3 #C152D0 #D282DD

Accessibility & contrast

On white

5.72
#A431B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A431B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A431B3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A431B3#FFFFFF#000000##FFFFFF
##A431B31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#A6496F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a431b3;
/* rgb */ color: rgb(164, 49, 179);
/* oklch */ color: oklch(53.9% 0.211 322.8);
Tailwind
colors: {
  custom: {
    50: '#c375ca',
    500: '#a431b3',
    950: '#000000',
  },
}
SCSS
$custom: #a431b3;
$custom-light: #c375ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a431b3",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 293.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.2106,
    "h": 322.8
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#A431B3
secondary
#83C67A
accent
#E04859
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A431B3

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

Preview Lab → · Contrast checker → · Palette generator →

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