#71298C#71298C

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

Color values

HEX#71298C
RGBrgb(113, 41, 140)
HSLhsl(284, 55%, 35%)
HSVhsv(284, 71%, 55%)
CMYKcmyk(19.3%, 70.7%, 0%, 45.1%)
CIE-LABlab(31.79, 47.18, -40.90)
CIE-LCHlch(31.79, 62.44, 319.08°)
OKLaboklab(43.26% 0.1161 -0.1151)
OKLCHoklch(43.26% 0.163 315.3)
XYZxyz(12.3359, 6.9905, 25.5053)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71298C #448C29
analogous
#3F298C #71298C #8C2975
triadic
#71298C #8C7129 #298C71
tetradic
#71298C #8C3F29 #448C29 #29758C
square
#71298C #8C3F29 #448C29 #29758C
split-complementary
#71298C #758C29 #298C3F
monochromatic
#250D2D #4B1B5D #71298C #9737BB #B15FD0

Accessibility & contrast

On white

8.76
#71298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71298C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71298C#FFFFFF#000000##FFFFFF
##71298C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#274D8A
Tritanopia (blue-blind)
#6F3D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71298c;
/* rgb */ color: rgb(113, 41, 140);
/* oklch */ color: oklch(43.3% 0.163 315.3);
Tailwind
colors: {
  custom: {
    50: '#9d69ae',
    500: '#71298c',
    950: '#000000',
  },
}
SCSS
$custom: #71298c;
$custom-light: #9d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#71298c",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 283.636,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.16346,
    "h": 315.3
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#71298C
secondary
#74B65B
accent
#DE4A72
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #71298C

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

Preview Lab → · Contrast checker → · Palette generator →

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