#AA41DB#AA41DB

#AA41DB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.230 H 312.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AA41DB
RGBrgb(170, 65, 219)
HSLhsl(281, 68%, 56%)
HSVhsv(281, 70%, 86%)
CMYKcmyk(22.4%, 70.3%, 0%, 14.1%)
CIE-LABlab(48.81, 65.74, -59.81)
CIE-LCHlch(48.81, 88.88, 317.70°)
OKLaboklab(58.78% 0.1559 -0.1689)
OKLCHoklch(58.78% 0.23 312.7)
XYZxyz(31.2518, 17.4420, 68.7245)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA41DB #72DB41
analogous
#5D41DB #AA41DB #DB41BF
triadic
#AA41DB #DBAA41 #41DBAA
tetradic
#AA41DB #DB5D41 #72DB41 #41BFDB
square
#AA41DB #DB5D41 #72DB41 #41BFDB
split-complementary
#AA41DB #BFDB41 #41DB5D
monochromatic
#651A88 #8B23BB #AA41DB #C174E5 #D8A8EE

Accessibility & contrast

On white

4.68
#AA41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AA41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA41DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA41DB#FFFFFF#000000##FFFFFF
##AA41DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#A5628A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa41db;
/* rgb */ color: rgb(170, 65, 219);
/* oklch */ color: oklch(58.8% 0.230 312.7);
Tailwind
colors: {
  custom: {
    50: '#c87ee7',
    500: '#aa41db',
    950: '#000000',
  },
}
SCSS
$custom: #aa41db;
$custom-light: #c87ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa41db",
  "rgb": {
    "r": 170,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 280.909,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.22985,
    "h": 312.7
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#AA41DB
secondary
#B0DC9C
accent
#EB3D74
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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