#AA41E2#AA41E2

#AA41E2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.3% C 0.236 H 311.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA41E2
RGBrgb(170, 65, 226)
HSLhsl(279, 74%, 57%)
HSVhsv(279, 71%, 89%)
CMYKcmyk(24.8%, 71.2%, 0%, 11.4%)
CIE-LABlab(49.28, 67.17, -63.04)
CIE-LCHlch(49.28, 92.12, 316.82°)
OKLaboklab(59.25% 0.1551 -0.1784)
OKLCHoklch(59.25% 0.236 311)
XYZxyz(32.1927, 17.8184, 73.6802)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA41E2 #79E241
analogous
#5941E2 #AA41E2 #E241CA
triadic
#AA41E2 #E2AA41 #41E2AA
tetradic
#AA41E2 #E25941 #79E241 #41CAE2
square
#AA41E2 #E25941 #79E241 #41CAE2
split-complementary
#AA41E2 #CAE241 #41E259
monochromatic
#671692 #8D1EC7 #AA41E2 #C276EA #DAABF2

Accessibility & contrast

On white

4.60
#AA41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AA41E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA41E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA41E2#FFFFFF#000000##FFFFFF
##AA41E21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#A3658E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa41e2;
/* rgb */ color: rgb(170, 65, 226);
/* oklch */ color: oklch(59.3% 0.236 311.0);
Tailwind
colors: {
  custom: {
    50: '#c87fec',
    500: '#aa41e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa41e2;
$custom-light: #c87fec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa41e2",
  "rgb": {
    "r": 170,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 279.13,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.23634,
    "h": 311
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#AA41E2
secondary
#B5E09F
accent
#F03878
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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