#711D9E#711D9E

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

Color values

HEX#711D9E
RGBrgb(113, 29, 158)
HSLhsl(279, 69%, 37%)
HSVhsv(279, 82%, 62%)
CMYKcmyk(28.5%, 81.6%, 0%, 38%)
CIE-LABlab(31.48, 55.69, -52.42)
CIE-LCHlch(31.48, 76.48, 316.73°)
OKLaboklab(43.47% 0.1244 -0.1488)
OKLCHoklch(43.47% 0.194 309.9)
XYZxyz(13.4197, 6.8584, 32.9580)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D9E #4A9E1D
analogous
#311D9E #711D9E #9E1D8B
triadic
#711D9E #9E711D #1D9E71
tetradic
#711D9E #9E311D #4A9E1D #1D8B9E
square
#711D9E #9E311D #4A9E1D #1D8B9E
split-complementary
#711D9E #8B9E1D #1D9E31
monochromatic
#270A37 #4C146A #711D9E #9626D2 #B056E0

Accessibility & contrast

On white

8.85
#711D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711D9E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D9E#FFFFFF#000000##FFFFFF
##711D9E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#6A3F5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711d9e;
/* rgb */ color: rgb(113, 29, 158);
/* oklch */ color: oklch(43.5% 0.194 309.9);
Tailwind
colors: {
  custom: {
    50: '#9f65bb',
    500: '#711d9e',
    950: '#000000',
  },
}
SCSS
$custom: #711d9e;
$custom-light: #9f65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#711d9e",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 279.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.19399,
    "h": 309.9
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#711D9E
secondary
#7BC354
accent
#EC3C79
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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