#711F9D#711F9D

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

Color values

HEX#711F9D
RGBrgb(113, 31, 157)
HSLhsl(279, 67%, 37%)
HSVhsv(279, 80%, 62%)
CMYKcmyk(28%, 80.3%, 0%, 38.4%)
CIE-LABlab(31.64, 54.80, -51.56)
CIE-LCHlch(31.64, 75.25, 316.75°)
OKLaboklab(43.55% 0.1231 -0.1463)
OKLCHoklch(43.55% 0.191 310.1)
XYZxyz(13.3846, 6.9253, 32.5234)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F9D #4B9D1F
analogous
#321F9D #711F9D #9D1F8A
triadic
#711F9D #9D711F #1F9D71
tetradic
#711F9D #9D321F #4B9D1F #1F8A9D
square
#711F9D #9D321F #4B9D1F #1F8A9D
split-complementary
#711F9D #8A9D1F #1F9D32
monochromatic
#270B37 #4C156A #711F9D #9629D0 #AF58DE

Accessibility & contrast

On white

8.81
#711F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#711F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F9D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F9D#FFFFFF#000000##FFFFFF
##711F9D1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6B3F5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711f9d;
/* rgb */ color: rgb(113, 31, 157);
/* oklch */ color: oklch(43.5% 0.191 310.1);
Tailwind
colors: {
  custom: {
    50: '#9f65bb',
    500: '#711f9d',
    950: '#000000',
  },
}
SCSS
$custom: #711f9d;
$custom-light: #9f65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#711f9d",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 279.048,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.1912,
    "h": 310.1
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#711F9D
secondary
#7CC256
accent
#EA3E7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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