#71297D#71297D

#71297D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 321.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#71297D
RGBrgb(113, 41, 125)
HSLhsl(291, 51%, 33%)
HSVhsv(291, 67%, 49%)
CMYKcmyk(9.6%, 67.2%, 0%, 51%)
CIE-LABlab(30.83, 44.05, -33.09)
CIE-LCHlch(30.83, 55.10, 323.09°)
OKLaboklab(42.27% 0.1167 -0.0922)
OKLCHoklch(42.27% 0.149 321.7)
XYZxyz(11.3043, 6.5778, 20.0723)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71297D #357D29
analogous
#47297D #71297D #7D295F
triadic
#71297D #7D7129 #297D71
tetradic
#71297D #7D4729 #357D29 #295F7D
square
#71297D #7D4729 #357D29 #295F7D
split-complementary
#71297D #5F7D29 #297D47
monochromatic
#1E0B21 #471A4F #71297D #9B38AB #B858C8

Accessibility & contrast

On white

9.07
#71297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#71297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71297D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71297D#FFFFFF#000000##FFFFFF
##71297D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#72374F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71297d;
/* rgb */ color: rgb(113, 41, 125);
/* oklch */ color: oklch(42.3% 0.149 321.7);
Tailwind
colors: {
  custom: {
    50: '#9c69a3',
    500: '#71297d',
    950: '#000000',
  },
}
SCSS
$custom: #71297d;
$custom-light: #9c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71297d",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 291.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.14874,
    "h": 321.7
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#71297D
secondary
#61AE54
accent
#DA4E62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #71297D

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

Preview Lab → · Contrast checker → · Palette generator →

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