#711A7E#711A7E

#711A7E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.168 H 322.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#711A7E
RGBrgb(113, 26, 126)
HSLhsl(292, 66%, 30%)
HSVhsv(292, 79%, 49%)
CMYKcmyk(10.3%, 79.4%, 0%, 50.6%)
CIE-LABlab(28.79, 50.20, -36.97)
CIE-LCHlch(28.79, 62.34, 323.63°)
OKLaboklab(40.83% 0.1327 -0.1035)
OKLCHoklch(40.83% 0.168 322)
XYZxyz(10.9449, 5.7565, 20.2692)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711A7E #277E1A
analogous
#3F1A7E #711A7E #7E1A59
triadic
#711A7E #7E711A #1A7E71
tetradic
#711A7E #7E3F1A #277E1A #1A597E
square
#711A7E #7E3F1A #277E1A #1A597E
split-complementary
#711A7E #597E1A #1A7E3F
monochromatic
#170519 #44104B #711A7E #9E24B1 #C33CD7

Accessibility & contrast

On white

9.76
#711A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#711A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711A7E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711A7E#FFFFFF#000000##FFFFFF
##711A7E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#722E4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #711a7e;
/* rgb */ color: rgb(113, 26, 126);
/* oklch */ color: oklch(40.8% 0.168 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d62a4',
    500: '#711a7e',
    950: '#000000',
  },
}
SCSS
$custom: #711a7e;
$custom-light: #9d62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#711a7e",
  "rgb": {
    "r": 113,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 292.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.16826,
    "h": 322
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#711A7E
secondary
#50B242
accent
#E93F55
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#711A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva