#711E9D#711E9D

#711E9D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.192 H 310.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#711E9D
RGBrgb(113, 30, 157)
HSLhsl(279, 68%, 37%)
HSVhsv(279, 81%, 62%)
CMYKcmyk(28%, 80.9%, 0%, 38.4%)
CIE-LABlab(31.52, 55.15, -51.75)
CIE-LCHlch(31.52, 75.63, 316.82°)
OKLaboklab(43.47% 0.1239 -0.1469)
OKLCHoklch(43.47% 0.192 310.1)
XYZxyz(13.3589, 6.8739, 32.5148)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711E9D #4A9D1E
analogous
#321E9D #711E9D #9D1E8A
triadic
#711E9D #9D711E #1E9D71
tetradic
#711E9D #9D321E #4A9D1E #1E8A9D
square
#711E9D #9D321E #4A9D1E #1E8A9D
split-complementary
#711E9D #8A9D1E #1E9D32
monochromatic
#270A36 #4C146A #711E9D #9628D0 #B057DF

Accessibility & contrast

On white

8.84
#711E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#711E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711E9D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711E9D#FFFFFF#000000##FFFFFF
##711E9D1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#6B3E5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711e9d;
/* rgb */ color: rgb(113, 30, 157);
/* oklch */ color: oklch(43.5% 0.192 310.1);
Tailwind
colors: {
  custom: {
    50: '#9f65bb',
    500: '#711e9d',
    950: '#000000',
  },
}
SCSS
$custom: #711e9d;
$custom-light: #9f65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#711e9d",
  "rgb": {
    "r": 113,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 279.213,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.19215,
    "h": 310.1
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#711E9D
secondary
#7BC254
accent
#EB3D79
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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