#711F9F#711F9F

#711F9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 309.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#711F9F
RGBrgb(113, 31, 159)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 81%, 62%)
CMYKcmyk(28.9%, 80.5%, 0%, 37.6%)
CIE-LABlab(31.79, 55.23, -52.52)
CIE-LCHlch(31.79, 76.22, 316.44°)
OKLaboklab(43.71% 0.1226 -0.1491)
OKLCHoklch(43.71% 0.193 309.4)
XYZxyz(13.5568, 6.9942, 33.4300)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F9F #4D9F1F
analogous
#311F9F #711F9F #9F1F8D
triadic
#711F9F #9F711F #1F9F71
tetradic
#711F9F #9F311F #4D9F1F #1F8D9F
square
#711F9F #9F311F #4D9F1F #1F8D9F
split-complementary
#711F9F #8D9F1F #1F9F31
monochromatic
#280B39 #4D156C #711F9F #9529D2 #AF5ADF

Accessibility & contrast

On white

8.75
#711F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#711F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F9F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F9F#FFFFFF#000000##FFFFFF
##711F9F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6A405F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #711f9f;
/* rgb */ color: rgb(113, 31, 159);
/* oklch */ color: oklch(43.7% 0.193 309.4);
Tailwind
colors: {
  custom: {
    50: '#9f65bc',
    500: '#711f9f',
    950: '#000000',
  },
}
SCSS
$custom: #711f9f;
$custom-light: #9f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#711f9f",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 278.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43708,
    "c": 0.19306,
    "h": 309.4
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#711F9F
secondary
#7EC357
accent
#EA3E7C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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