#A23491#A23491

#A23491 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.179 H 334.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A23491
RGBrgb(162, 52, 145)
HSLhsl(309, 51%, 42%)
HSVhsv(309, 68%, 64%)
CMYKcmyk(0%, 67.9%, 10.5%, 36.5%)
CIE-LABlab(41.51, 55.54, -28.06)
CIE-LCHlch(41.51, 62.23, 333.20°)
OKLaboklab(51.92% 0.1614 -0.0766)
OKLCHoklch(51.92% 0.179 334.6)
XYZxyz(21.2393, 12.1835, 28.0156)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23491 #34A245
analogous
#7C34A2 #A23491 #A2345A
triadic
#A23491 #91A234 #3491A2
tetradic
#A23491 #A27C34 #34A245 #345AA2
square
#A23491 #A27C34 #34A245 #345AA2
split-complementary
#A23491 #5AA234 #34A27C
monochromatic
#45163E #742568 #A23491 #C64DB3 #D57CC7

Accessibility & contrast

On white

6.11
#A23491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A23491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23491
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23491#FFFFFF#000000##FFFFFF
##A234911.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#58688E
Tritanopia (blue-blind)
#AA3C5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23491;
/* rgb */ color: rgb(162, 52, 145);
/* oklch */ color: oklch(51.9% 0.179 334.6);
Tailwind
colors: {
  custom: {
    50: '#c174b1',
    500: '#a23491',
    950: '#000000',
  },
}
SCSS
$custom: #a23491;
$custom-light: #c174b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23491",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 309.273,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.17866,
    "h": 334.6
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#A23491
secondary
#74BE80
accent
#DB634D
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A23491

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

Preview Lab → · Contrast checker → · Palette generator →

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