#71167F#71167F

#71167F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.173 H 321.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#71167F
RGBrgb(113, 22, 127)
HSLhsl(292, 70%, 29%)
HSVhsv(292, 83%, 50%)
CMYKcmyk(11%, 82.7%, 0%, 50.2%)
CIE-LABlab(28.43, 51.63, -38.19)
CIE-LCHlch(28.43, 64.22, 323.51°)
OKLaboklab(40.59% 0.1359 -0.107)
OKLCHoklch(40.59% 0.173 321.8)
XYZxyz(10.9273, 5.6175, 20.5833)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71167F #247F16
analogous
#3D167F #71167F #7F1659
triadic
#71167F #7F7116 #167F71
tetradic
#71167F #7F3D16 #247F16 #16597F
square
#71167F #7F3D16 #247F16 #16597F
split-complementary
#71167F #597F16 #167F3D
monochromatic
#17051A #430D4B #71167F #9F1FB3 #C534DC

Accessibility & contrast

On white

9.89
#71167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71167F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71167F#FFFFFF#000000##FFFFFF
##71167F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#722D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71167f;
/* rgb */ color: rgb(113, 22, 127);
/* oklch */ color: oklch(40.6% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#9d60a5',
    500: '#71167f',
    950: '#000000',
  },
}
SCSS
$custom: #71167f;
$custom-light: #9d60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71167f",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 292,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.17298,
    "h": 321.8
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#71167F
secondary
#4DB43D
accent
#ED3B52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71167F

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

Preview Lab → · Contrast checker → · Palette generator →

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