#71277F#71277F

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

Color values

HEX#71277F
RGBrgb(113, 39, 127)
HSLhsl(290, 53%, 33%)
HSVhsv(290, 69%, 50%)
CMYKcmyk(11%, 69.3%, 0%, 50.2%)
CIE-LABlab(30.63, 45.35, -34.66)
CIE-LCHlch(30.63, 57.08, 322.61°)
OKLaboklab(42.16% 0.1191 -0.0968)
OKLCHoklch(42.16% 0.153 320.9)
XYZxyz(11.3659, 6.4946, 20.7295)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71277F #357F27
analogous
#45277F #71277F #7F2761
triadic
#71277F #7F7127 #277F71
tetradic
#71277F #7F4527 #357F27 #27617F
square
#71277F #7F4527 #357F27 #27617F
split-complementary
#71277F #617F27 #277F45
monochromatic
#1E0A21 #471950 #71277F #9B35AE #B855CB

Accessibility & contrast

On white

9.14
#71277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#71277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71277F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71277F#FFFFFF#000000##FFFFFF
##71277F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#723650
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #71277f;
/* rgb */ color: rgb(113, 39, 127);
/* oklch */ color: oklch(42.2% 0.153 320.9);
Tailwind
colors: {
  custom: {
    50: '#9d68a4',
    500: '#71277f',
    950: '#000000',
  },
}
SCSS
$custom: #71277f;
$custom-light: #9d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71277f",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 290.455,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.15347,
    "h": 320.9
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#71277F
secondary
#61B052
accent
#DC4B62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #71277F

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

Preview Lab → · Contrast checker → · Palette generator →

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