#71226B#71226B

#71226B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.142 H 331.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#71226B
RGBrgb(113, 34, 107)
HSLhsl(305, 54%, 29%)
HSVhsv(305, 70%, 44%)
CMYKcmyk(0%, 69.9%, 5.3%, 55.7%)
CIE-LABlab(28.69, 43.71, -25.04)
CIE-LCHlch(28.69, 50.37, 330.19°)
OKLaboklab(40.38% 0.1245 -0.0688)
OKLCHoklch(40.38% 0.142 331.1)
XYZxyz(10.0359, 5.7171, 14.4820)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71226B #227128
analogous
#502271 #71226B #712244
triadic
#71226B #6B7122 #226B71
tetradic
#71226B #715022 #227128 #224471
square
#71226B #715022 #227128 #224471
split-complementary
#71226B #447122 #227150
monochromatic
#180716 #42143E #71226B #A03098 #C746BE

Accessibility & contrast

On white

9.80
#71226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#71226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71226B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71226B#FFFFFF#000000##FFFFFF
##71226B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6D
Deuteranopia (green-blind)
#394869
Tritanopia (blue-blind)
#762A43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #71226b;
/* rgb */ color: rgb(113, 34, 107);
/* oklch */ color: oklch(40.4% 0.142 331.1);
Tailwind
colors: {
  custom: {
    50: '#9d6495',
    500: '#71226b',
    950: '#000000',
  },
}
SCSS
$custom: #71226b;
$custom-light: #9d6495;
$custom-dark: #000000;
JSON
{
  "hex": "#71226b",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 304.557,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.14228,
    "h": 331.1
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#71226B
secondary
#4AA451
accent
#DD564B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #71226B

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

Preview Lab → · Contrast checker → · Palette generator →

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