#71297E#71297E

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

Color values

HEX#71297E
RGBrgb(113, 41, 126)
HSLhsl(291, 51%, 33%)
HSVhsv(291, 67%, 49%)
CMYKcmyk(10.3%, 67.5%, 0%, 50.6%)
CIE-LABlab(30.89, 44.26, -33.62)
CIE-LCHlch(30.89, 55.58, 322.77°)
OKLaboklab(42.33% 0.1167 -0.0938)
OKLCHoklch(42.33% 0.15 321.2)
XYZxyz(11.3685, 6.6035, 20.4104)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71297E #367E29
analogous
#47297E #71297E #7E2960
triadic
#71297E #7E7129 #297E71
tetradic
#71297E #7E4729 #367E29 #29607E
square
#71297E #7E4729 #367E29 #29607E
split-complementary
#71297E #607E29 #297E47
monochromatic
#1E0B22 #481A50 #71297E #9A38AC #B859C9

Accessibility & contrast

On white

9.05
#71297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71297E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71297E#FFFFFF#000000##FFFFFF
##71297E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#723750
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71297e;
/* rgb */ color: rgb(113, 41, 126);
/* oklch */ color: oklch(42.3% 0.150 321.2);
Tailwind
colors: {
  custom: {
    50: '#9d69a4',
    500: '#71297e',
    950: '#000000',
  },
}
SCSS
$custom: #71297e;
$custom-light: #9d69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71297e",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 290.824,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.14971,
    "h": 321.2
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#71297E
secondary
#62AE55
accent
#DA4D63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #71297E

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

Preview Lab → · Contrast checker → · Palette generator →

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