#71297F#71297F

#71297F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.151 H 320.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#71297F
RGBrgb(113, 41, 127)
HSLhsl(290, 51%, 33%)
HSVhsv(290, 68%, 50%)
CMYKcmyk(11%, 67.7%, 0%, 50.2%)
CIE-LABlab(30.95, 44.46, -34.15)
CIE-LCHlch(30.95, 56.06, 322.47°)
OKLaboklab(42.39% 0.1167 -0.0953)
OKLCHoklch(42.39% 0.151 320.7)
XYZxyz(11.4333, 6.6295, 20.7519)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71297F #377F29
analogous
#46297F #71297F #7F2962
triadic
#71297F #7F7129 #297F71
tetradic
#71297F #7F4629 #377F29 #29627F
square
#71297F #7F4629 #377F29 #29627F
split-complementary
#71297F #627F29 #297F46
monochromatic
#1F0B22 #481A51 #71297F #9A38AD #B759C9

Accessibility & contrast

On white

9.03
#71297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#71297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71297F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71297F#FFFFFF#000000##FFFFFF
##71297F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#324B7D
Tritanopia (blue-blind)
#723850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #71297f;
/* rgb */ color: rgb(113, 41, 127);
/* oklch */ color: oklch(42.4% 0.151 320.7);
Tailwind
colors: {
  custom: {
    50: '#9d69a4',
    500: '#71297f',
    950: '#000000',
  },
}
SCSS
$custom: #71297f;
$custom-light: #9d69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71297f",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 290.233,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.15068,
    "h": 320.7
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#71297F
secondary
#64AF55
accent
#DB4D64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #71297F

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

Preview Lab → · Contrast checker → · Palette generator →

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