#711B9E#711B9E

#711B9E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.196 H 310.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#711B9E
RGBrgb(113, 27, 158)
HSLhsl(279, 71%, 36%)
HSVhsv(279, 83%, 62%)
CMYKcmyk(28.5%, 82.9%, 0%, 38%)
CIE-LABlab(31.26, 56.33, -52.78)
CIE-LCHlch(31.26, 77.19, 316.87°)
OKLaboklab(43.31% 0.1259 -0.1499)
OKLCHoklch(43.31% 0.196 310)
XYZxyz(13.3723, 6.7635, 32.9422)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B9E #489E1B
analogous
#2F1B9E #711B9E #9E1B8A
triadic
#711B9E #9E711B #1B9E71
tetradic
#711B9E #9E2F1B #489E1B #1B8A9E
square
#711B9E #9E2F1B #489E1B #1B8A9E
split-complementary
#711B9E #8A9E1B #1B9E2F
monochromatic
#260935 #4C126A #711B9E #9624D2 #B052E1

Accessibility & contrast

On white

8.93
#711B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#711B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B9E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B9E#FFFFFF#000000##FFFFFF
##711B9E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #711b9e;
/* rgb */ color: rgb(113, 27, 158);
/* oklch */ color: oklch(43.3% 0.196 310.0);
Tailwind
colors: {
  custom: {
    50: '#9f64bc',
    500: '#711b9e',
    950: '#000000',
  },
}
SCSS
$custom: #711b9e;
$custom-light: #9f64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#711b9e",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 279.389,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.19574,
    "h": 310
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#711B9E
secondary
#78C451
accent
#EE3A78
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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