#711D9F#711D9F

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

Color values

HEX#711D9F
RGBrgb(113, 29, 159)
HSLhsl(279, 69%, 37%)
HSVhsv(279, 82%, 62%)
CMYKcmyk(28.9%, 81.8%, 0%, 37.6%)
CIE-LABlab(31.56, 55.91, -52.90)
CIE-LCHlch(31.56, 76.97, 316.58°)
OKLaboklab(43.55% 0.1242 -0.1502)
OKLCHoklch(43.55% 0.195 309.6)
XYZxyz(13.5062, 6.8929, 33.4131)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D9F #4B9F1D
analogous
#301D9F #711D9F #9F1D8C
triadic
#711D9F #9F711D #1D9F71
tetradic
#711D9F #9F301D #4B9F1D #1D8C9F
square
#711D9F #9F301D #4B9F1D #1D8C9F
split-complementary
#711D9F #8C9F1D #1D9F30
monochromatic
#270A37 #4C146B #711D9F #9626D3 #AF56E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##711D9F#FFFFFF#000000##FFFFFF
##711D9F1.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)
#0047A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#6A3F5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711d9f;
/* rgb */ color: rgb(113, 29, 159);
/* oklch */ color: oklch(43.5% 0.195 309.6);
Tailwind
colors: {
  custom: {
    50: '#9f65bc',
    500: '#711d9f',
    950: '#000000',
  },
}
SCSS
$custom: #711d9f;
$custom-light: #9f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#711d9f",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 278.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.1949,
    "h": 309.6
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#711D9F
secondary
#7CC454
accent
#EC3C7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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