#711C8E#711C8E

#711C8E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 315.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#711C8E
RGBrgb(113, 28, 142)
HSLhsl(285, 67%, 33%)
HSVhsv(285, 80%, 56%)
CMYKcmyk(20.4%, 80.3%, 0%, 44.3%)
CIE-LABlab(30.14, 52.68, -44.78)
CIE-LCHlch(30.14, 69.14, 319.63°)
OKLaboklab(42.14% 0.1287 -0.1264)
OKLCHoklch(42.14% 0.18 315.5)
XYZxyz(12.1070, 6.2947, 26.1632)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711C8E #398E1C
analogous
#381C8E #711C8E #8E1C72
triadic
#711C8E #8E711C #1C8E71
tetradic
#711C8E #8E381C #398E1C #1C728E
square
#711C8E #8E381C #398E1C #1C728E
split-complementary
#711C8E #728E1C #1C8E38
monochromatic
#200828 #48125B #711C8E #9A26C1 #B649DB

Accessibility & contrast

On white

9.30
#711C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#711C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711C8E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711C8E#FFFFFF#000000##FFFFFF
##711C8E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#6F3755
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711c8e;
/* rgb */ color: rgb(113, 28, 142);
/* oklch */ color: oklch(42.1% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e63b0',
    500: '#711c8e',
    950: '#000000',
  },
}
SCSS
$custom: #711c8e;
$custom-light: #9e63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#711c8e",
  "rgb": {
    "r": 113,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 284.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.18036,
    "h": 315.5
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#711C8E
secondary
#66BD49
accent
#EA3E6A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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