#71227C#71227C

#71227C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.157 H 322.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#71227C
RGBrgb(113, 34, 124)
HSLhsl(293, 57%, 31%)
HSVhsv(293, 73%, 49%)
CMYKcmyk(8.9%, 72.6%, 0%, 51.4%)
CIE-LABlab(29.69, 46.87, -34.27)
CIE-LCHlch(29.69, 58.06, 323.82°)
OKLaboklab(41.43% 0.1249 -0.0956)
OKLCHoklch(41.43% 0.157 322.5)
XYZxyz(11.0198, 6.1106, 19.6639)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71227C #2D7C22
analogous
#44227C #71227C #7C225A
triadic
#71227C #7C7122 #227C71
tetradic
#71227C #7C4422 #2D7C22 #225A7C
square
#71227C #7C4422 #2D7C22 #225A7C
split-complementary
#71227C #5A7C22 #227C44
monochromatic
#19081C #45154C #71227C #9D2FAC #BE4BCE

Accessibility & contrast

On white

9.45
#71227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#71227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71227C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71227C#FFFFFF#000000##FFFFFF
##71227C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407F
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#73324C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #71227c;
/* rgb */ color: rgb(113, 34, 124);
/* oklch */ color: oklch(41.4% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#9d65a2',
    500: '#71227c',
    950: '#000000',
  },
}
SCSS
$custom: #71227c;
$custom-light: #9d65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71227c",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 292.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.15728,
    "h": 322.5
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#71227C
secondary
#57AF4B
accent
#E0485A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71227C

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

Preview Lab → · Contrast checker → · Palette generator →

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