#711772#711772

#711772 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.161 H 327.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#711772
RGBrgb(113, 23, 114)
HSLhsl(299, 66%, 27%)
HSVhsv(299, 80%, 45%)
CMYKcmyk(0.9%, 79.8%, 0%, 55.3%)
CIE-LABlab(27.68, 48.97, -31.13)
CIE-LCHlch(27.68, 58.02, 327.56°)
OKLaboklab(39.79% 0.1362 -0.0864)
OKLCHoklch(39.79% 0.161 327.6)
XYZxyz(10.1536, 5.3392, 16.4121)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711772 #187217
analogous
#441772 #711772 #721746
triadic
#711772 #727117 #177271
tetradic
#711772 #724417 #187217 #174672
square
#711772 #724417 #187217 #174672
split-complementary
#711772 #467217 #177244
monochromatic
#190519 #3F0D3F #711772 #A321A5 #D32ED5

Accessibility & contrast

On white

10.16
#711772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#711772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711772
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711772#FFFFFF#000000##FFFFFF
##7117721.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#752744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #711772;
/* rgb */ color: rgb(113, 23, 114);
/* oklch */ color: oklch(39.8% 0.161 327.6);
Tailwind
colors: {
  custom: {
    50: '#9d609b',
    500: '#711772',
    950: '#000000',
  },
}
SCSS
$custom: #711772;
$custom-light: #9d609b;
$custom-dark: #000000;
JSON
{
  "hex": "#711772",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 299.341,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.16125,
    "h": 327.6
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#711772
secondary
#3EA83D
accent
#E93E40
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #711772

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

Preview Lab → · Contrast checker → · Palette generator →

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