#71298B#71298B

#71298B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.162 H 315.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#71298B
RGBrgb(113, 41, 139)
HSLhsl(284, 54%, 35%)
HSVhsv(284, 71%, 55%)
CMYKcmyk(18.7%, 70.5%, 0%, 45.5%)
CIE-LABlab(31.72, 46.97, -40.39)
CIE-LCHlch(31.72, 61.94, 319.31°)
OKLaboklab(43.19% 0.1162 -0.1136)
OKLCHoklch(43.19% 0.162 315.6)
XYZxyz(12.2625, 6.9611, 25.1188)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71298B #438B29
analogous
#40298B #71298B #8B2974
triadic
#71298B #8B7129 #298B71
tetradic
#71298B #8B4029 #438B29 #29748B
square
#71298B #8B4029 #438B29 #29748B
split-complementary
#71298B #748B29 #298B40
monochromatic
#240D2C #4B1B5C #71298B #9737BA #B25FD0

Accessibility & contrast

On white

8.78
#71298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#71298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71298B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71298B#FFFFFF#000000##FFFFFF
##71298B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#6F3C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #71298b;
/* rgb */ color: rgb(113, 41, 139);
/* oklch */ color: oklch(43.2% 0.162 315.6);
Tailwind
colors: {
  custom: {
    50: '#9d69ad',
    500: '#71298b',
    950: '#000000',
  },
}
SCSS
$custom: #71298b;
$custom-light: #9d69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#71298b",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 284.082,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.16248,
    "h": 315.6
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#71298B
secondary
#73B55B
accent
#DE4A71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #71298B

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

Preview Lab → · Contrast checker → · Palette generator →

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