#A41F8E#A41F8E

#A41F8E is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.201 H 336.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A41F8E
RGBrgb(164, 31, 142)
HSLhsl(310, 68%, 38%)
HSVhsv(310, 81%, 64%)
CMYKcmyk(0%, 81.1%, 13.4%, 35.7%)
CIE-LABlab(39.29, 62.43, -29.68)
CIE-LCHlch(39.29, 69.13, 334.57°)
OKLaboklab(50.33% 0.1835 -0.081)
OKLCHoklch(50.33% 0.201 336.2)
XYZxyz(20.6827, 10.8274, 26.5866)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A41F8E #1FA435
analogous
#771FA4 #A41F8E #A41F4B
triadic
#A41F8E #8EA41F #1F8EA4
tetradic
#A41F8E #A4771F #1FA435 #1F4BA4
square
#A41F8E #A4771F #1FA435 #1F4BA4
split-complementary
#A41F8E #4BA41F #1FA477
monochromatic
#3D0C35 #711561 #A41F8E #D72ABA #E05DCB

Accessibility & contrast

On white

6.64
#A41F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A41F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A41F8E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A41F8E#FFFFFF#000000##FFFFFF
##A41F8E1.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#AD2A56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a41f8e;
/* rgb */ color: rgb(164, 31, 142);
/* oklch */ color: oklch(50.3% 0.201 336.2);
Tailwind
colors: {
  custom: {
    50: '#c36caf',
    500: '#a41f8e',
    950: '#000000',
  },
}
SCSS
$custom: #a41f8e;
$custom-light: #c36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a41f8e",
  "rgb": {
    "r": 164,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 309.925,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.2006,
    "h": 336.2
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#A41F8E
secondary
#5AC56C
accent
#EB5A3D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A41F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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