#71277C#71277C

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

Color values

HEX#71277C
RGBrgb(113, 39, 124)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 69%, 49%)
CMYKcmyk(8.9%, 68.5%, 0%, 51.4%)
CIE-LABlab(30.44, 44.75, -33.07)
CIE-LCHlch(30.44, 55.65, 323.53°)
OKLaboklab(41.97% 0.1191 -0.0922)
OKLCHoklch(41.97% 0.151 322.3)
XYZxyz(11.1733, 6.4176, 19.7151)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71277C #327C27
analogous
#47277C #71277C #7C275D
triadic
#71277C #7C7127 #277C71
tetradic
#71277C #7C4727 #327C27 #275D7C
square
#71277C #7C4727 #327C27 #275D7C
split-complementary
#71277C #5D7C27 #277C47
monochromatic
#1C0A1F #47184D #71277C #9B36AB #BA54C9

Accessibility & contrast

On white

9.20
#71277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#71277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71277C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71277C#FFFFFF#000000##FFFFFF
##71277C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427E
Deuteranopia (green-blind)
#324B7A
Tritanopia (blue-blind)
#72354E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71277c;
/* rgb */ color: rgb(113, 39, 124);
/* oklch */ color: oklch(42.0% 0.151 322.3);
Tailwind
colors: {
  custom: {
    50: '#9d67a2',
    500: '#71277c',
    950: '#000000',
  },
}
SCSS
$custom: #71277c;
$custom-light: #9d67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71277c",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 292.235,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4197,
    "c": 0.15062,
    "h": 322.3
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#71277C
secondary
#5DAE51
accent
#DC4C5F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71277C

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

Preview Lab → · Contrast checker → · Palette generator →

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