#71298D#71298D

#71298D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.164 H 314.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#71298D
RGBrgb(113, 41, 141)
HSLhsl(283, 55%, 36%)
HSVhsv(283, 71%, 55%)
CMYKcmyk(19.9%, 70.9%, 0%, 44.7%)
CIE-LABlab(31.85, 47.40, -41.41)
CIE-LCHlch(31.85, 62.94, 318.86°)
OKLaboklab(43.33% 0.116 -0.1166)
OKLCHoklch(43.33% 0.164 314.9)
XYZxyz(12.4099, 7.0201, 25.8954)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71298D #458D29
analogous
#3F298D #71298D #8D2977
triadic
#71298D #8D7129 #298D71
tetradic
#71298D #8D3F29 #458D29 #29778D
square
#71298D #8D3F29 #458D29 #29778D
split-complementary
#71298D #778D29 #298D3F
monochromatic
#250D2E #4B1B5E #71298D #9737BC #B160D1

Accessibility & contrast

On white

8.74
#71298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#71298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71298D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71298D#FFFFFF#000000##FFFFFF
##71298D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#6F3D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71298d;
/* rgb */ color: rgb(113, 41, 141);
/* oklch */ color: oklch(43.3% 0.164 314.9);
Tailwind
colors: {
  custom: {
    50: '#9d69af',
    500: '#71298d',
    950: '#000000',
  },
}
SCSS
$custom: #71298d;
$custom-light: #9d69af;
$custom-dark: #000000;
JSON
{
  "hex": "#71298d",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 283.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.16446,
    "h": 314.9
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#71298D
secondary
#75B65B
accent
#DE4A73
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71298D

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

Preview Lab → · Contrast checker → · Palette generator →

#71298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva