#711F9B#711F9B

#711F9B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.189 H 310.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#711F9B
RGBrgb(113, 31, 155)
HSLhsl(280, 67%, 36%)
HSVhsv(280, 80%, 61%)
CMYKcmyk(27.1%, 80%, 0%, 39.2%)
CIE-LABlab(31.48, 54.37, -50.60)
CIE-LCHlch(31.48, 74.27, 317.06°)
OKLaboklab(43.39% 0.1235 -0.1435)
OKLCHoklch(43.39% 0.189 310.7)
XYZxyz(13.2153, 6.8576, 31.6315)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F9B #499B1F
analogous
#331F9B #711F9B #9B1F87
triadic
#711F9B #9B711F #1F9B71
tetradic
#711F9B #9B331F #499B1F #1F879B
square
#711F9B #9B331F #499B1F #1F879B
split-complementary
#711F9B #879B1F #1F9B33
monochromatic
#270B35 #4C1568 #711F9B #9629CE #B057DD

Accessibility & contrast

On white

8.86
#711F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711F9B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F9B#FFFFFF#000000##FFFFFF
##711F9B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#6B3E5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711f9b;
/* rgb */ color: rgb(113, 31, 155);
/* oklch */ color: oklch(43.4% 0.189 310.7);
Tailwind
colors: {
  custom: {
    50: '#9f65b9',
    500: '#711f9b',
    950: '#000000',
  },
}
SCSS
$custom: #711f9b;
$custom-light: #9f65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#711f9b",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 279.677,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.18934,
    "h": 310.7
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#711F9B
secondary
#79C155
accent
#EA3E78
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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