#71226E#71226E

#71226E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.145 H 329.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#71226E
RGBrgb(113, 34, 110)
HSLhsl(302, 54%, 29%)
HSVhsv(302, 70%, 44%)
CMYKcmyk(0%, 69.9%, 2.7%, 55.7%)
CIE-LABlab(28.85, 44.24, -26.71)
CIE-LCHlch(28.85, 51.68, 328.88°)
OKLaboklab(40.56% 0.1247 -0.0736)
OKLCHoklch(40.56% 0.145 329.4)
XYZxyz(10.1965, 5.7813, 15.3277)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71226E #227125
analogous
#4D2271 #71226E #712247
triadic
#71226E #6E7122 #226E71
tetradic
#71226E #714D22 #227125 #224771
square
#71226E #714D22 #227125 #224771
split-complementary
#71226E #477122 #22714D
monochromatic
#180717 #421440 #71226E #A0309C #C746C2

Accessibility & contrast

On white

9.74
#71226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#71226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71226E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71226E#FFFFFF#000000##FFFFFF
##71226E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#38486C
Tritanopia (blue-blind)
#752C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71226e;
/* rgb */ color: rgb(113, 34, 110);
/* oklch */ color: oklch(40.6% 0.145 329.4);
Tailwind
colors: {
  custom: {
    50: '#9d6498',
    500: '#71226e',
    950: '#000000',
  },
}
SCSS
$custom: #71226e;
$custom-light: #9d6498;
$custom-dark: #000000;
JSON
{
  "hex": "#71226e",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 302.278,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40558,
    "c": 0.14484,
    "h": 329.4
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#71226E
secondary
#4AA44E
accent
#DD504B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71226E

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

Preview Lab → · Contrast checker → · Palette generator →

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