#711166#711166

#711166 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 333.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#711166
RGBrgb(113, 17, 102)
HSLhsl(307, 74%, 25%)
HSVhsv(307, 85%, 44%)
CMYKcmyk(0%, 85%, 9.7%, 55.7%)
CIE-LABlab(26.37, 48.68, -25.47)
CIE-LCHlch(26.37, 54.94, 332.38°)
OKLaboklab(38.63% 0.1412 -0.0699)
OKLCHoklch(38.63% 0.158 333.6)
XYZxyz(9.4089, 4.8718, 13.0126)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711166 #11711C
analogous
#4C1171 #711166 #711136
triadic
#711166 #667111 #116671
tetradic
#711166 #714C11 #11711C #113671
square
#711166 #714C11 #11711C #113671
split-complementary
#711166 #367111 #11714C
monochromatic
#1B0418 #3C0936 #711166 #A61996 #DB21C6

Accessibility & contrast

On white

10.64
#711166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#711166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711166
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711166#FFFFFF#000000##FFFFFF
##7111661.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#354364
Tritanopia (blue-blind)
#771C3C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #711166;
/* rgb */ color: rgb(113, 17, 102);
/* oklch */ color: oklch(38.6% 0.158 333.6);
Tailwind
colors: {
  custom: {
    50: '#9d5d92',
    500: '#711166',
    950: '#000000',
  },
}
SCSS
$custom: #711166;
$custom-light: #9d5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#711166",
  "rgb": {
    "r": 113,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 306.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38625,
    "c": 0.15756,
    "h": 333.6
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#711166
secondary
#36A843
accent
#F14D37
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #711166

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

Preview Lab → · Contrast checker → · Palette generator →

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