#A41FA7#A41FA7

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

Color values

HEX#A41FA7
RGBrgb(164, 31, 167)
HSLhsl(299, 69%, 39%)
HSVhsv(299, 81%, 65%)
CMYKcmyk(1.8%, 81.4%, 0%, 34.5%)
CIE-LABlab(40.68, 66.26, -42.60)
CIE-LCHlch(40.68, 78.77, 327.26°)
OKLaboklab(51.77% 0.1835 -0.1184)
OKLCHoklch(51.77% 0.218 327.2)
XYZxyz(22.7745, 11.6642, 37.6036)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A41FA7 #22A71F
analogous
#601FA7 #A41FA7 #A71F66
triadic
#A41FA7 #A7A41F #1FA7A4
tetradic
#A41FA7 #A7601F #22A71F #1F66A7
square
#A41FA7 #A7601F #22A71F #1F66A7
split-complementary
#A41FA7 #66A71F #1FA760
monochromatic
#3F0C40 #711573 #A41FA7 #D42BD8 #DE5FE1

Accessibility & contrast

On white

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

On black

3.33
#A41FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A41FA7#FFFFFF#000000##FFFFFF
##A41FA71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#4566A4
Tritanopia (blue-blind)
#A93964
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a41fa7;
/* rgb */ color: rgb(164, 31, 167);
/* oklch */ color: oklch(51.8% 0.218 327.2);
Tailwind
colors: {
  custom: {
    50: '#c36dc2',
    500: '#a41fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a41fa7;
$custom-light: #c36dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a41fa7",
  "rgb": {
    "r": 164,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 298.676,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.2184,
    "h": 327.2
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#A41FA7
secondary
#5EC65C
accent
#EC3C40
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A41FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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