#71226A#71226A

#71226A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 331.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#71226A
RGBrgb(113, 34, 106)
HSLhsl(305, 54%, 29%)
HSVhsv(305, 70%, 44%)
CMYKcmyk(0%, 69.9%, 6.2%, 55.7%)
CIE-LABlab(28.63, 43.53, -24.49)
CIE-LCHlch(28.63, 49.95, 330.64°)
OKLaboklab(40.33% 0.1244 -0.0672)
OKLCHoklch(40.33% 0.141 331.6)
XYZxyz(9.9836, 5.6961, 14.2065)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71226A #227129
analogous
#512271 #71226A #712243
triadic
#71226A #6A7122 #226A71
tetradic
#71226A #715122 #227129 #224371
square
#71226A #715122 #227129 #224371
split-complementary
#71226A #437122 #227151
monochromatic
#180716 #42143E #71226A #A03096 #C746BC

Accessibility & contrast

On white

9.82
#71226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#71226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71226A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71226A#FFFFFF#000000##FFFFFF
##71226A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#394768
Tritanopia (blue-blind)
#762A43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71226a;
/* rgb */ color: rgb(113, 34, 106);
/* oklch */ color: oklch(40.3% 0.141 331.6);
Tailwind
colors: {
  custom: {
    50: '#9d6495',
    500: '#71226a',
    950: '#000000',
  },
}
SCSS
$custom: #71226a;
$custom-light: #9d6495;
$custom-dark: #000000;
JSON
{
  "hex": "#71226a",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 305.316,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.14144,
    "h": 331.6
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#71226A
secondary
#4AA452
accent
#DD584B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71226A

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

Preview Lab → · Contrast checker → · Palette generator →

#71226A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva