#71226F#71226F

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

Color values

HEX#71226F
RGBrgb(113, 34, 111)
HSLhsl(302, 54%, 29%)
HSVhsv(302, 70%, 44%)
CMYKcmyk(0%, 69.9%, 1.8%, 55.7%)
CIE-LABlab(28.91, 44.42, -27.26)
CIE-LCHlch(28.91, 52.12, 328.47°)
OKLaboklab(40.62% 0.1248 -0.0752)
OKLCHoklch(40.62% 0.146 328.9)
XYZxyz(10.2512, 5.8032, 15.6160)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71226F #227124
analogous
#4C2271 #71226F #712248
triadic
#71226F #6F7122 #226F71
tetradic
#71226F #714C22 #227124 #224871
square
#71226F #714C22 #227124 #224871
split-complementary
#71226F #487122 #22714C
monochromatic
#180717 #421441 #71226F #A0309D #C746C4

Accessibility & contrast

On white

9.72
#71226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71226F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71226F#FFFFFF#000000##FFFFFF
##71226F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#752C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71226f;
/* rgb */ color: rgb(113, 34, 111);
/* oklch */ color: oklch(40.6% 0.146 328.9);
Tailwind
colors: {
  custom: {
    50: '#9d6498',
    500: '#71226f',
    950: '#000000',
  },
}
SCSS
$custom: #71226f;
$custom-light: #9d6498;
$custom-dark: #000000;
JSON
{
  "hex": "#71226f",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 301.519,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.1457,
    "h": 328.9
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#71226F
secondary
#4AA44D
accent
#DD4E4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #71226F

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

Preview Lab → · Contrast checker → · Palette generator →

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