#71166E#71166E

#71166E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.159 H 329.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#71166E
RGBrgb(113, 22, 110)
HSLhsl(302, 67%, 26%)
HSVhsv(302, 81%, 44%)
CMYKcmyk(0%, 80.5%, 2.7%, 55.7%)
CIE-LABlab(27.33, 48.59, -29.12)
CIE-LCHlch(27.33, 56.64, 329.06°)
OKLaboklab(39.46% 0.1371 -0.0806)
OKLCHoklch(39.46% 0.159 329.6)
XYZxyz(9.9114, 5.2111, 15.2327)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71166E #167119
analogous
#471671 #71166E #711641
triadic
#71166E #6E7116 #166E71
tetradic
#71166E #714716 #167119 #164171
square
#71166E #714716 #167119 #164171
split-complementary
#71166E #417116 #167147
monochromatic
#1A0519 #3E0C3C #71166E #A420A0 #D62CD0

Accessibility & contrast

On white

10.28
#71166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#71166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71166E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71166E#FFFFFF#000000##FFFFFF
##71166E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053970
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#752442
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #71166e;
/* rgb */ color: rgb(113, 22, 110);
/* oklch */ color: oklch(39.5% 0.159 329.6);
Tailwind
colors: {
  custom: {
    50: '#9d5f98',
    500: '#71166e',
    950: '#000000',
  },
}
SCSS
$custom: #71166e;
$custom-light: #9d5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#71166e",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 301.978,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.15904,
    "h": 329.6
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#71166E
secondary
#3CA73F
accent
#EA433E
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71166E

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

Preview Lab → · Contrast checker → · Palette generator →

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