#71147B#71147B

#71147B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.171 H 323.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#71147B
RGBrgb(113, 20, 123)
HSLhsl(294, 72%, 28%)
HSVhsv(294, 84%, 48%)
CMYKcmyk(8.1%, 83.7%, 0%, 51.8%)
CIE-LABlab(27.96, 51.46, -36.41)
CIE-LCHlch(27.96, 63.04, 324.72°)
OKLaboklab(40.18% 0.1379 -0.1018)
OKLCHoklch(40.18% 0.171 323.6)
XYZxyz(10.6350, 5.4418, 19.2253)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71147B #1E7B14
analogous
#3D147B #71147B #7B1451
triadic
#71147B #7B7114 #147B71
tetradic
#71147B #7B3D14 #1E7B14 #14517B
square
#71147B #7B3D14 #1E7B14 #14517B
split-complementary
#71147B #517B14 #147B3D
monochromatic
#18041A #410B46 #71147B #A11DB0 #CC2DDD

Accessibility & contrast

On white

10.06
#71147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#71147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71147B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71147B#FFFFFF#000000##FFFFFF
##71147B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#284579
Tritanopia (blue-blind)
#732A49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71147b;
/* rgb */ color: rgb(113, 20, 123);
/* oklch */ color: oklch(40.2% 0.171 323.6);
Tailwind
colors: {
  custom: {
    50: '#9d5fa2',
    500: '#71147b',
    950: '#000000',
  },
}
SCSS
$custom: #71147b;
$custom-light: #9d5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#71147b",
  "rgb": {
    "r": 113,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 294.175,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.17144,
    "h": 323.6
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#71147B
secondary
#46B13A
accent
#EF394B
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71147B

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

Preview Lab → · Contrast checker → · Palette generator →

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