#711766#711766

#711766 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.152 H 333.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#711766
RGBrgb(113, 23, 102)
HSLhsl(307, 66%, 27%)
HSVhsv(307, 80%, 44%)
CMYKcmyk(0%, 79.6%, 9.7%, 55.7%)
CIE-LABlab(26.97, 46.94, -24.51)
CIE-LCHlch(26.97, 52.95, 332.42°)
OKLaboklab(39.06% 0.1361 -0.0672)
OKLCHoklch(39.06% 0.152 333.7)
XYZxyz(9.5148, 5.0836, 13.0479)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711766 #177122
analogous
#4F1771 #711766 #711739
triadic
#711766 #667117 #176671
tetradic
#711766 #714F17 #177122 #173971
square
#711766 #714F17 #177122 #173971
split-complementary
#711766 #397117 #17714F
monochromatic
#190517 #3E0D38 #711766 #A42194 #D42EC0

Accessibility & contrast

On white

10.41
#711766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#711766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711766
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711766#FFFFFF#000000##FFFFFF
##7117661.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#374464
Tritanopia (blue-blind)
#77203D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #711766;
/* rgb */ color: rgb(113, 23, 102);
/* oklch */ color: oklch(39.1% 0.152 333.7);
Tailwind
colors: {
  custom: {
    50: '#9d5f92',
    500: '#711766',
    950: '#000000',
  },
}
SCSS
$custom: #711766;
$custom-light: #9d5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#711766",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 307.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39058,
    "c": 0.15175,
    "h": 333.7
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#711766
secondary
#3DA74A
accent
#E9543F
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #711766

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

Preview Lab → · Contrast checker → · Palette generator →

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