#711F7E#711F7E

#711F7E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.163 H 321.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#711F7E
RGBrgb(113, 31, 126)
HSLhsl(292, 61%, 31%)
HSVhsv(292, 75%, 49%)
CMYKcmyk(10.3%, 75.4%, 0%, 50.6%)
CIE-LABlab(29.41, 48.43, -35.99)
CIE-LCHlch(29.41, 60.33, 323.38°)
OKLaboklab(41.27% 0.1279 -0.1006)
OKLCHoklch(41.27% 0.163 321.8)
XYZxyz(11.0655, 5.9977, 20.3094)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F7E #2C7E1F
analogous
#411F7E #711F7E #7E1F5B
triadic
#711F7E #7E711F #1F7E71
tetradic
#711F7E #7E411F #2C7E1F #1F5B7E
square
#711F7E #7E411F #2C7E1F #1F5B7E
split-complementary
#711F7E #5B7E1F #1F7E41
monochromatic
#19071C #45134D #711F7E #9D2BAF #BE46D1

Accessibility & contrast

On white

9.55
#711F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#711F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F7E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F7E#FFFFFF#000000##FFFFFF
##711F7E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#72314D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #711f7e;
/* rgb */ color: rgb(113, 31, 126);
/* oklch */ color: oklch(41.3% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#9d64a4',
    500: '#711f7e',
    950: '#000000',
  },
}
SCSS
$custom: #711f7e;
$custom-light: #9d64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#711f7e",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 291.789,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.16275,
    "h": 321.8
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#711F7E
secondary
#56B148
accent
#E4445A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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