#A41F98#A41F98

#A41F98 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.208 H 332.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A41F98
RGBrgb(164, 31, 152)
HSLhsl(305, 68%, 38%)
HSVhsv(305, 81%, 64%)
CMYKcmyk(0%, 81.1%, 7.3%, 35.7%)
CIE-LABlab(39.82, 63.91, -34.94)
CIE-LCHlch(39.82, 72.83, 331.33°)
OKLaboklab(50.89% 0.1839 -0.0962)
OKLCHoklch(50.89% 0.208 332.4)
XYZxyz(21.4674, 11.1413, 30.7195)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A41F98 #1FA42B
analogous
#6E1FA4 #A41F98 #A41F55
triadic
#A41F98 #98A41F #1F98A4
tetradic
#A41F98 #A46E1F #1FA42B #1F55A4
square
#A41F98 #A46E1F #1FA42B #1F55A4
split-complementary
#A41F98 #55A41F #1FA46E
monochromatic
#3D0C39 #711568 #A41F98 #D72AC7 #E05DD5

Accessibility & contrast

On white

6.51
#A41F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A41F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A41F98
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A41F98#FFFFFF#000000##FFFFFF
##A41F981.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#AB305C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a41f98;
/* rgb */ color: rgb(164, 31, 152);
/* oklch */ color: oklch(50.9% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36cb7',
    500: '#a41f98',
    950: '#000000',
  },
}
SCSS
$custom: #a41f98;
$custom-light: #c36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a41f98",
  "rgb": {
    "r": 164,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 305.414,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.20752,
    "h": 332.4
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#A41F98
secondary
#5AC564
accent
#EB4C3D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A41F98

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

Preview Lab → · Contrast checker → · Palette generator →

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