#711B9F#711B9F

#711B9F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.197 H 309.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#711B9F
RGBrgb(113, 27, 159)
HSLhsl(279, 71%, 36%)
HSVhsv(279, 83%, 62%)
CMYKcmyk(28.9%, 83%, 0%, 37.6%)
CIE-LABlab(31.34, 56.55, -53.25)
CIE-LCHlch(31.34, 77.68, 316.72°)
OKLaboklab(43.39% 0.1257 -0.1513)
OKLCHoklch(43.39% 0.197 309.7)
XYZxyz(13.4587, 6.7981, 33.3973)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B9F #499F1B
analogous
#2F1B9F #711B9F #9F1B8B
triadic
#711B9F #9F711B #1B9F71
tetradic
#711B9F #9F2F1B #499F1B #1B8B9F
square
#711B9F #9F2F1B #499F1B #1B8B9F
split-complementary
#711B9F #8B9F1B #1B9F2F
monochromatic
#270936 #4C126B #711B9F #9624D3 #B053E2

Accessibility & contrast

On white

8.90
#711B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#711B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B9F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B9F#FFFFFF#000000##FFFFFF
##711B9F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#6A3E5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711b9f;
/* rgb */ color: rgb(113, 27, 159);
/* oklch */ color: oklch(43.4% 0.197 309.7);
Tailwind
colors: {
  custom: {
    50: '#9f64bc',
    500: '#711b9f',
    950: '#000000',
  },
}
SCSS
$custom: #711b9f;
$custom-light: #9f64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#711b9f",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 279.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.19665,
    "h": 309.7
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#711B9F
secondary
#79C551
accent
#EE3A79
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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