#71187F#71187F

#71187F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.171 H 321.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#71187F
RGBrgb(113, 24, 127)
HSLhsl(292, 68%, 30%)
HSVhsv(292, 81%, 50%)
CMYKcmyk(11%, 81.1%, 0%, 50.2%)
CIE-LABlab(28.63, 51.03, -37.85)
CIE-LCHlch(28.63, 63.53, 323.43°)
OKLaboklab(40.74% 0.1343 -0.106)
OKLCHoklch(40.74% 0.171 321.7)
XYZxyz(10.9670, 5.6969, 20.5965)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71187F #267F18
analogous
#3E187F #71187F #7F1859
triadic
#71187F #7F7118 #187F71
tetradic
#71187F #7F3E18 #267F18 #18597F
square
#71187F #7F3E18 #267F18 #18597F
split-complementary
#71187F #597F18 #187F3E
monochromatic
#17051A #430E4C #71187F #9F22B2 #C338D9

Accessibility & contrast

On white

9.82
#71187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#71187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71187F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71187F#FFFFFF#000000##FFFFFF
##71187F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71187f;
/* rgb */ color: rgb(113, 24, 127);
/* oklch */ color: oklch(40.7% 0.171 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d61a5',
    500: '#71187f',
    950: '#000000',
  },
}
SCSS
$custom: #71187f;
$custom-light: #9d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71187f",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 291.845,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.17112,
    "h": 321.7
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#71187F
secondary
#4FB33F
accent
#EB3D54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71187F

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

Preview Lab → · Contrast checker → · Palette generator →

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