#71227D#71227D

#71227D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.158 H 322.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#71227D
RGBrgb(113, 34, 125)
HSLhsl(292, 57%, 31%)
HSVhsv(292, 73%, 49%)
CMYKcmyk(9.6%, 72.8%, 0%, 51%)
CIE-LABlab(29.75, 47.07, -34.80)
CIE-LCHlch(29.75, 58.53, 323.52°)
OKLaboklab(41.5% 0.1248 -0.0972)
OKLCHoklch(41.5% 0.158 322.1)
XYZxyz(11.0834, 6.1360, 19.9986)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71227D #2E7D22
analogous
#43227D #71227D #7D225B
triadic
#71227D #7D7122 #227D71
tetradic
#71227D #7D4322 #2E7D22 #225B7D
square
#71227D #7D4322 #2E7D22 #225B7D
split-complementary
#71227D #5B7D22 #227D43
monochromatic
#1A081D #46154D #71227D #9C2FAD #BD4BCE

Accessibility & contrast

On white

9.43
#71227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71227D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71227D#FFFFFF#000000##FFFFFF
##71227D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#72324D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71227d;
/* rgb */ color: rgb(113, 34, 125);
/* oklch */ color: oklch(41.5% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#9d65a3',
    500: '#71227d',
    950: '#000000',
  },
}
SCSS
$custom: #71227d;
$custom-light: #9d65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71227d",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 292.088,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.1582,
    "h": 322.1
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#71227D
secondary
#58B04B
accent
#E0475C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71227D

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

Preview Lab → · Contrast checker → · Palette generator →

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