#71227E#71227E

#71227E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.159 H 321.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#71227E
RGBrgb(113, 34, 126)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 73%, 49%)
CMYKcmyk(10.3%, 73%, 0%, 50.6%)
CIE-LABlab(29.82, 47.26, -35.33)
CIE-LCHlch(29.82, 59.01, 323.22°)
OKLaboklab(41.56% 0.1248 -0.0987)
OKLCHoklch(41.56% 0.159 321.6)
XYZxyz(11.1476, 6.1617, 20.3368)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71227E #2F7E22
analogous
#43227E #71227E #7E225D
triadic
#71227E #7E7122 #227E71
tetradic
#71227E #7E4322 #2F7E22 #225D7E
square
#71227E #7E4322 #2F7E22 #225D7E
split-complementary
#71227E #5D7E22 #227E43
monochromatic
#1B081E #46154E #71227E #9C2FAE #BC4CCF

Accessibility & contrast

On white

9.41
#71227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#71227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71227E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71227E#FFFFFF#000000##FFFFFF
##71227E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#72334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71227e;
/* rgb */ color: rgb(113, 34, 126);
/* oklch */ color: oklch(41.6% 0.159 321.6);
Tailwind
colors: {
  custom: {
    50: '#9d65a4',
    500: '#71227e',
    950: '#000000',
  },
}
SCSS
$custom: #71227e;
$custom-light: #9d65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71227e",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 291.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.15912,
    "h": 321.6
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#71227E
secondary
#5AB14B
accent
#E1475D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71227E

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

Preview Lab → · Contrast checker → · Palette generator →

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