#71127E#71127E

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

Color values

HEX#71127E
RGBrgb(113, 18, 126)
HSLhsl(293, 75%, 28%)
HSVhsv(293, 86%, 49%)
CMYKcmyk(10.3%, 85.7%, 0%, 50.6%)
CIE-LABlab(27.98, 52.54, -38.27)
CIE-LCHlch(27.98, 65.00, 323.93°)
OKLaboklab(40.26% 0.139 -0.1072)
OKLCHoklch(40.26% 0.176 322.4)
XYZxyz(10.7919, 5.4503, 20.2182)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71127E #1F7E12
analogous
#3B127E #71127E #7E1255
triadic
#71127E #7E7112 #127E71
tetradic
#71127E #7E3B12 #1F7E12 #12557E
square
#71127E #7E3B12 #1F7E12 #12557E
split-complementary
#71127E #557E12 #127E3B
monochromatic
#18041B #410A48 #71127E #A11AB4 #CB2AE1

Accessibility & contrast

On white

10.05
#71127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#71127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71127E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71127E#FFFFFF#000000##FFFFFF
##71127E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#25457C
Tritanopia (blue-blind)
#722A4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71127e;
/* rgb */ color: rgb(113, 18, 126);
/* oklch */ color: oklch(40.3% 0.176 322.4);
Tailwind
colors: {
  custom: {
    50: '#9e5fa4',
    500: '#71127e',
    950: '#000000',
  },
}
SCSS
$custom: #71127e;
$custom-light: #9e5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#71127e",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 292.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.17555,
    "h": 322.4
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#71127E
secondary
#47B438
accent
#F2364D
background
#FAF5FA
surface
#F3EAF4
border
#CDC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #71127E

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

Preview Lab → · Contrast checker → · Palette generator →

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