#A041D3#A041D3

#A041D3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.219 H 311.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A041D3
RGBrgb(160, 65, 211)
HSLhsl(279, 62%, 54%)
HSVhsv(279, 69%, 83%)
CMYKcmyk(24.2%, 69.2%, 0%, 17.3%)
CIE-LABlab(46.92, 62.05, -58.36)
CIE-LCHlch(46.92, 85.19, 316.76°)
OKLaboklab(56.98% 0.1442 -0.1649)
OKLCHoklch(56.98% 0.219 311.2)
XYZxyz(28.1432, 15.9580, 63.2131)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A041D3 #74D341
analogous
#5741D3 #A041D3 #D341BD
triadic
#A041D3 #D3A041 #41D3A0
tetradic
#A041D3 #D35741 #74D341 #41BDD3
square
#A041D3 #D35741 #74D341 #41BDD3
split-complementary
#A041D3 #BDD341 #41D357
monochromatic
#5B1D7D #8028AE #A041D3 #B973DF #D2A4EA

Accessibility & contrast

On white

5.01
#A041D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A041D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A041D3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A041D3#FFFFFF#000000##FFFFFF
##A041D31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#9A6085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a041d3;
/* rgb */ color: rgb(160, 65, 211);
/* oklch */ color: oklch(57.0% 0.219 311.2);
Tailwind
colors: {
  custom: {
    50: '#c07de1',
    500: '#a041d3',
    950: '#000000',
  },
}
SCSS
$custom: #a041d3;
$custom-light: #c07de1;
$custom-dark: #000000;
JSON
{
  "hex": "#a041d3",
  "rgb": {
    "r": 160,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 279.041,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.2191,
    "h": 311.2
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#A041D3
secondary
#AFD799
accent
#E5427B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A041D3

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

Preview Lab → · Contrast checker → · Palette generator →

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