#71167E#71167E

#71167E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 322.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#71167E
RGBrgb(113, 22, 126)
HSLhsl(293, 70%, 29%)
HSVhsv(293, 83%, 49%)
CMYKcmyk(10.3%, 82.5%, 0%, 50.6%)
CIE-LABlab(28.36, 51.45, -37.67)
CIE-LCHlch(28.36, 63.76, 323.79°)
OKLaboklab(40.52% 0.1361 -0.1055)
OKLCHoklch(40.52% 0.172 322.2)
XYZxyz(10.8625, 5.5915, 20.2417)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71167E #237E16
analogous
#3D167E #71167E #7E1657
triadic
#71167E #7E7116 #167E71
tetradic
#71167E #7E3D16 #237E16 #16577E
square
#71167E #7E3D16 #237E16 #16577E
split-complementary
#71167E #577E16 #167E3D
monochromatic
#17051A #420D4A #71167E #A01FB2 #C633DB

Accessibility & contrast

On white

9.91
#71167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71167E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71167E#FFFFFF#000000##FFFFFF
##71167E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#722C4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71167e;
/* rgb */ color: rgb(113, 22, 126);
/* oklch */ color: oklch(40.5% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d60a4',
    500: '#71167e',
    950: '#000000',
  },
}
SCSS
$custom: #71167e;
$custom-light: #9d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71167e",
  "rgb": {
    "r": 113,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 292.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.17215,
    "h": 322.2
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#71167E
secondary
#4CB33D
accent
#ED3B51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71167E

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

Preview Lab → · Contrast checker → · Palette generator →

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