#71227A#71227A

#71227A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.155 H 323.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#71227A
RGBrgb(113, 34, 122)
HSLhsl(294, 56%, 31%)
HSVhsv(294, 72%, 48%)
CMYKcmyk(7.4%, 72.1%, 0%, 52.2%)
CIE-LABlab(29.56, 46.48, -33.21)
CIE-LCHlch(29.56, 57.13, 324.45°)
OKLaboklab(41.3% 0.1249 -0.0925)
OKLCHoklch(41.3% 0.155 323.5)
XYZxyz(10.8946, 6.0605, 19.0045)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71227A #2B7A22
analogous
#45227A #71227A #7A2257
triadic
#71227A #7A7122 #227A71
tetradic
#71227A #7A4522 #2B7A22 #22577A
square
#71227A #7A4522 #2B7A22 #22577A
split-complementary
#71227A #577A22 #227A45
monochromatic
#18071A #45154A #71227A #9D2FAA #BF4ACD

Accessibility & contrast

On white

9.49
#71227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#71227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71227A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71227A#FFFFFF#000000##FFFFFF
##71227A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#73314B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71227a;
/* rgb */ color: rgb(113, 34, 122);
/* oklch */ color: oklch(41.3% 0.155 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d65a1',
    500: '#71227a',
    950: '#000000',
  },
}
SCSS
$custom: #71227a;
$custom-light: #9d65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71227a",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 293.864,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.15547,
    "h": 323.5
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#71227A
secondary
#55AD4B
accent
#E04858
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71227A

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

Preview Lab → · Contrast checker → · Palette generator →

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