#71277A#71277A

#71277A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.149 H 323.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#71277A
RGBrgb(113, 39, 122)
HSLhsl(293, 52%, 32%)
HSVhsv(293, 68%, 48%)
CMYKcmyk(7.4%, 68%, 0%, 52.2%)
CIE-LABlab(30.32, 44.36, -32.01)
CIE-LCHlch(30.32, 54.70, 324.19°)
OKLaboklab(41.84% 0.1191 -0.0891)
OKLCHoklch(41.84% 0.149 323.2)
XYZxyz(11.0481, 6.3675, 19.0557)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71277A #307A27
analogous
#48277A #71277A #7A275A
triadic
#71277A #7A7127 #277A71
tetradic
#71277A #7A4827 #307A27 #275A7A
square
#71277A #7A4827 #307A27 #275A7A
split-complementary
#71277A #5A7A27 #277A48
monochromatic
#1B091D #46184C #71277A #9C36A8 #BB53C8

Accessibility & contrast

On white

9.24
#71277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#71277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71277A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71277A#FFFFFF#000000##FFFFFF
##71277A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#73344D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #71277a;
/* rgb */ color: rgb(113, 39, 122);
/* oklch */ color: oklch(41.8% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#9d67a1',
    500: '#71277a',
    950: '#000000',
  },
}
SCSS
$custom: #71277a;
$custom-light: #9d67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#71277a",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 293.494,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.14874,
    "h": 323.2
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#71277A
secondary
#5BAC51
accent
#DB4D5C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #71277A

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

Preview Lab → · Contrast checker → · Palette generator →

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