#71189B#71189B

#71189B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.9% C 0.196 H 311.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#71189B
RGBrgb(113, 24, 155)
HSLhsl(281, 73%, 35%)
HSVhsv(281, 85%, 61%)
CMYKcmyk(27.1%, 84.5%, 0%, 39.2%)
CIE-LABlab(30.71, 56.60, -51.84)
CIE-LCHlch(30.71, 76.76, 317.51°)
OKLaboklab(42.86% 0.1288 -0.1471)
OKLCHoklch(42.86% 0.196 311.2)
XYZxyz(13.0519, 6.5309, 31.5770)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71189B #429B18
analogous
#2F189B #71189B #9B1884
triadic
#71189B #9B7118 #189B71
tetradic
#71189B #9B2F18 #429B18 #18849B
square
#71189B #9B2F18 #429B18 #18849B
split-complementary
#71189B #849B18 #189B2F
monochromatic
#240831 #4A1066 #71189B #9820D0 #B24AE3

Accessibility & contrast

On white

9.11
#71189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#71189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71189B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71189B#FFFFFF#000000##FFFFFF
##71189B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#6B3B5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71189b;
/* rgb */ color: rgb(113, 24, 155);
/* oklch */ color: oklch(42.9% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#9f63b9',
    500: '#71189b',
    950: '#000000',
  },
}
SCSS
$custom: #71189b;
$custom-light: #9f63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#71189b",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 280.763,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.19553,
    "h": 311.2
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#71189B
secondary
#71C54A
accent
#F03873
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #71189B

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

Preview Lab → · Contrast checker → · Palette generator →

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