#71277D#71277D

#71277D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.152 H 321.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#71277D
RGBrgb(113, 39, 125)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 69%, 49%)
CMYKcmyk(9.6%, 68.8%, 0%, 51%)
CIE-LABlab(30.50, 44.95, -33.60)
CIE-LCHlch(30.50, 56.12, 323.22°)
OKLaboklab(42.03% 0.1191 -0.0937)
OKLCHoklch(42.03% 0.152 321.8)
XYZxyz(11.2368, 6.4430, 20.0498)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71277D #337D27
analogous
#46277D #71277D #7D275E
triadic
#71277D #7D7127 #277D71
tetradic
#71277D #7D4627 #337D27 #275E7D
square
#71277D #7D4627 #337D27 #275E7D
split-complementary
#71277D #5E7D27 #277D46
monochromatic
#1D0A20 #47184E #71277D #9B36AC #B955CA

Accessibility & contrast

On white

9.18
#71277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71277D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71277D#FFFFFF#000000##FFFFFF
##71277D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4280
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#72354E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71277d;
/* rgb */ color: rgb(113, 39, 125);
/* oklch */ color: oklch(42.0% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#9d68a3',
    500: '#71277d',
    950: '#000000',
  },
}
SCSS
$custom: #71277d;
$custom-light: #9d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#71277d",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 291.628,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.15157,
    "h": 321.8
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#71277D
secondary
#5EAF51
accent
#DC4C60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71277D

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

Preview Lab → · Contrast checker → · Palette generator →

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