#71167B#71167B

#71167B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.170 H 323.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#71167B
RGBrgb(113, 22, 123)
HSLhsl(294, 70%, 28%)
HSVhsv(294, 82%, 48%)
CMYKcmyk(8.1%, 82.1%, 0%, 51.8%)
CIE-LABlab(28.16, 50.89, -36.10)
CIE-LCHlch(28.16, 62.39, 324.65°)
OKLaboklab(40.32% 0.1364 -0.1009)
OKLCHoklch(40.32% 0.17 323.5)
XYZxyz(10.6718, 5.5153, 19.2375)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71167B #207B16
analogous
#3E167B #71167B #7B1652
triadic
#71167B #7B7116 #167B71
tetradic
#71167B #7B3E16 #207B16 #16527B
square
#71167B #7B3E16 #207B16 #16527B
split-complementary
#71167B #527B16 #167B3E
monochromatic
#18051A #410D47 #71167B #A11FAF #C931DA

Accessibility & contrast

On white

9.99
#71167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#71167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71167B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71167B#FFFFFF#000000##FFFFFF
##71167B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#732B49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71167b;
/* rgb */ color: rgb(113, 22, 123);
/* oklch */ color: oklch(40.3% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#71167b',
    950: '#000000',
  },
}
SCSS
$custom: #71167b;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71167b",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 294.059,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.16964,
    "h": 323.5
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#71167B
secondary
#48B03D
accent
#EC3B4D
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71167B

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

Preview Lab → · Contrast checker → · Palette generator →

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