#711988#711988

#711988 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.178 H 318.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#711988
RGBrgb(113, 25, 136)
HSLhsl(288, 69%, 32%)
HSVhsv(288, 82%, 53%)
CMYKcmyk(16.9%, 81.6%, 0%, 46.7%)
CIE-LABlab(29.37, 52.45, -42.30)
CIE-LCHlch(29.37, 67.38, 321.11°)
OKLaboklab(41.46% 0.1322 -0.1191)
OKLCHoklch(41.46% 0.178 318)
XYZxyz(11.6010, 5.9841, 23.8317)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711988 #308819
analogous
#3A1988 #711988 #881968
triadic
#711988 #887119 #198871
tetradic
#711988 #883A19 #308819 #196888
square
#711988 #883A19 #308819 #196888
split-complementary
#711988 #688819 #19883A
monochromatic
#1B0621 #460F54 #711988 #9C23BC #BB40DC

Accessibility & contrast

On white

9.56
#711988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#711988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711988
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711988#FFFFFF#000000##FFFFFF
##7119881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#703251
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #711988;
/* rgb */ color: rgb(113, 25, 136);
/* oklch */ color: oklch(41.5% 0.178 318.0);
Tailwind
colors: {
  custom: {
    50: '#9e62ab',
    500: '#711988',
    950: '#000000',
  },
}
SCSS
$custom: #711988;
$custom-light: #9e62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#711988",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 287.568,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.17792,
    "h": 318
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#711988
secondary
#5BBB41
accent
#EC3C60
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711988

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

Preview Lab → · Contrast checker → · Palette generator →

#711988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva