#71127F#71127F

#71127F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.176 H 321.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#71127F
RGBrgb(113, 18, 127)
HSLhsl(292, 75%, 28%)
HSVhsv(292, 86%, 50%)
CMYKcmyk(11%, 85.8%, 0%, 50.2%)
CIE-LABlab(28.05, 52.73, -38.79)
CIE-LCHlch(28.05, 65.46, 323.66°)
OKLaboklab(40.33% 0.1389 -0.1087)
OKLCHoklch(40.33% 0.176 321.9)
XYZxyz(10.8567, 5.4763, 20.5597)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71127F #207F12
analogous
#3B127F #71127F #7F1256
triadic
#71127F #7F7112 #127F71
tetradic
#71127F #7F3B12 #207F12 #12567F
square
#71127F #7F3B12 #207F12 #12567F
split-complementary
#71127F #567F12 #127F3B
monochromatic
#18041B #410A49 #71127F #A11AB5 #C92BE1

Accessibility & contrast

On white

10.02
#71127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#71127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71127F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71127F#FFFFFF#000000##FFFFFF
##71127F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#722B4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71127f;
/* rgb */ color: rgb(113, 18, 127);
/* oklch */ color: oklch(40.3% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#9e5fa5',
    500: '#71127f',
    950: '#000000',
  },
}
SCSS
$custom: #71127f;
$custom-light: #9e5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#71127f",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 292.294,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.17637,
    "h": 321.9
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#71127F
secondary
#48B538
accent
#F2364E
background
#FAF5FA
surface
#F3EAF4
border
#CDC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #71127F

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

Preview Lab → · Contrast checker → · Palette generator →

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