#711F9C#711F9C

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

Color values

HEX#711F9C
RGBrgb(113, 31, 156)
HSLhsl(279, 67%, 37%)
HSVhsv(279, 80%, 61%)
CMYKcmyk(27.6%, 80.1%, 0%, 38.8%)
CIE-LABlab(31.56, 54.59, -51.08)
CIE-LCHlch(31.56, 74.76, 316.90°)
OKLaboklab(43.47% 0.1233 -0.1449)
OKLCHoklch(43.47% 0.19 310.4)
XYZxyz(13.2996, 6.8913, 32.0756)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F9C #4A9C1F
analogous
#331F9C #711F9C #9C1F89
triadic
#711F9C #9C711F #1F9C71
tetradic
#711F9C #9C331F #4A9C1F #1F899C
square
#711F9C #9C331F #4A9C1F #1F899C
split-complementary
#711F9C #899C1F #1F9C33
monochromatic
#270B36 #4C1569 #711F9C #9629CF #B058DE

Accessibility & contrast

On white

8.83
#711F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#711F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F9C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F9C#FFFFFF#000000##FFFFFF
##711F9C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#6B3E5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711f9c;
/* rgb */ color: rgb(113, 31, 156);
/* oklch */ color: oklch(43.5% 0.190 310.4);
Tailwind
colors: {
  custom: {
    50: '#9f65ba',
    500: '#711f9c',
    950: '#000000',
  },
}
SCSS
$custom: #711f9c;
$custom-light: #9f65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#711f9c",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 279.36,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.19027,
    "h": 310.4
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#711F9C
secondary
#7BC155
accent
#EA3E79
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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