#71277E#71277E

#71277E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.153 H 321.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#71277E
RGBrgb(113, 39, 126)
HSLhsl(291, 53%, 32%)
HSVhsv(291, 69%, 49%)
CMYKcmyk(10.3%, 69%, 0%, 50.6%)
CIE-LABlab(30.57, 45.15, -34.13)
CIE-LCHlch(30.57, 56.60, 322.91°)
OKLaboklab(42.1% 0.1191 -0.0953)
OKLCHoklch(42.1% 0.153 321.3)
XYZxyz(11.3010, 6.4687, 20.3879)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71277E #347E27
analogous
#45277E #71277E #7E2760
triadic
#71277E #7E7127 #277E71
tetradic
#71277E #7E4527 #347E27 #27607E
square
#71277E #7E4527 #347E27 #27607E
split-complementary
#71277E #607E27 #277E45
monochromatic
#1D0A21 #47194F #71277E #9B35AD #B955CA

Accessibility & contrast

On white

9.16
#71277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#71277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71277E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71277E#FFFFFF#000000##FFFFFF
##71277E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#72364F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71277e;
/* rgb */ color: rgb(113, 39, 126);
/* oklch */ color: oklch(42.1% 0.153 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d68a4',
    500: '#71277e',
    950: '#000000',
  },
}
SCSS
$custom: #71277e;
$custom-light: #9d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71277e",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 291.034,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.15252,
    "h": 321.3
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#71277E
secondary
#60AF52
accent
#DC4C61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71277E

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

Preview Lab → · Contrast checker → · Palette generator →

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