#711D78#711D78

#711D78 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.160 H 324.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#711D78
RGBrgb(113, 29, 120)
HSLhsl(295, 61%, 29%)
HSVhsv(295, 76%, 47%)
CMYKcmyk(5.8%, 75.8%, 0%, 52.9%)
CIE-LABlab(28.76, 48.03, -33.22)
CIE-LCHlch(28.76, 58.40, 325.32°)
OKLaboklab(40.69% 0.1303 -0.0925)
OKLCHoklch(40.69% 0.16 324.6)
XYZxyz(10.6393, 5.7462, 18.3144)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D78 #24781D
analogous
#441D78 #711D78 #781D52
triadic
#711D78 #78711D #1D7871
tetradic
#711D78 #78441D #24781D #1D5278
square
#711D78 #78441D #24781D #1D5278
split-complementary
#711D78 #52781D #1D7844
monochromatic
#170619 #431147 #711D78 #9F29A9 #C53FD1

Accessibility & contrast

On white

9.77
#711D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#711D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D78
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D78#FFFFFF#000000##FFFFFF
##711D781.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#732D49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #711d78;
/* rgb */ color: rgb(113, 29, 120);
/* oklch */ color: oklch(40.7% 0.160 324.6);
Tailwind
colors: {
  custom: {
    50: '#9d639f',
    500: '#711d78',
    950: '#000000',
  },
}
SCSS
$custom: #711d78;
$custom-light: #9d639f;
$custom-dark: #000000;
JSON
{
  "hex": "#711d78",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 295.385,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.15979,
    "h": 324.6
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#711D78
secondary
#4DAC45
accent
#E44450
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #711D78

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

Preview Lab → · Contrast checker → · Palette generator →

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