#711F91#711F91

#711F91 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 314.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#711F91
RGBrgb(113, 31, 145)
HSLhsl(283, 65%, 35%)
HSVhsv(283, 79%, 57%)
CMYKcmyk(22.1%, 78.6%, 0%, 43.1%)
CIE-LABlab(30.72, 52.26, -45.69)
CIE-LCHlch(30.72, 69.42, 318.83°)
OKLaboklab(42.62% 0.1255 -0.1291)
OKLCHoklch(42.62% 0.18 314.2)
XYZxyz(12.4100, 6.5354, 27.3903)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F91 #3F911F
analogous
#381F91 #711F91 #911F78
triadic
#711F91 #91711F #1F9171
tetradic
#711F91 #91381F #3F911F #1F7891
square
#711F91 #91381F #3F911F #1F7891
split-complementary
#711F91 #78911F #1F9138
monochromatic
#22092C #4A145F #711F91 #982AC3 #B351DA

Accessibility & contrast

On white

9.10
#711F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#711F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F91
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F91#FFFFFF#000000##FFFFFF
##711F911.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#164A8F
Tritanopia (blue-blind)
#6E3957
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #711f91;
/* rgb */ color: rgb(113, 31, 145);
/* oklch */ color: oklch(42.6% 0.180 314.2);
Tailwind
colors: {
  custom: {
    50: '#9e65b2',
    500: '#711f91',
    950: '#000000',
  },
}
SCSS
$custom: #711f91;
$custom-light: #9e65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#711f91",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 283.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.18006,
    "h": 314.2
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#711F91
secondary
#6EBD4F
accent
#E8406F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711F91

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

Preview Lab → · Contrast checker → · Palette generator →

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