#711A8A#711A8A

#711A8A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.179 H 317.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#711A8A
RGBrgb(113, 26, 138)
HSLhsl(287, 68%, 32%)
HSVhsv(287, 81%, 54%)
CMYKcmyk(18.1%, 81.2%, 0%, 45.9%)
CIE-LABlab(29.63, 52.53, -43.14)
CIE-LCHlch(29.63, 67.97, 320.61°)
OKLaboklab(41.69% 0.1311 -0.1215)
OKLCHoklch(41.69% 0.179 317.2)
XYZxyz(11.7662, 6.0850, 24.5946)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711A8A #338A1A
analogous
#391A8A #711A8A #8A1A6B
triadic
#711A8A #8A711A #1A8A71
tetradic
#711A8A #8A391A #338A1A #1A6B8A
square
#711A8A #8A391A #338A1A #1A6B8A
split-complementary
#711A8A #6B8A1A #1A8A39
monochromatic
#1D0723 #471057 #711A8A #9B24BD #B943DC

Accessibility & contrast

On white

9.47
#711A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#711A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711A8A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711A8A#FFFFFF#000000##FFFFFF
##711A8A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#703452
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #711a8a;
/* rgb */ color: rgb(113, 26, 138);
/* oklch */ color: oklch(41.7% 0.179 317.2);
Tailwind
colors: {
  custom: {
    50: '#9e62ad',
    500: '#711a8a',
    950: '#000000',
  },
}
SCSS
$custom: #711a8a;
$custom-light: #9e62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#711a8a",
  "rgb": {
    "r": 113,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 286.607,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.17873,
    "h": 317.2
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#711A8A
secondary
#5EBD43
accent
#EB3D64
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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