#711978#711978

#711978 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.164 H 324.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#711978
RGBrgb(113, 25, 120)
HSLhsl(296, 66%, 28%)
HSVhsv(296, 79%, 47%)
CMYKcmyk(5.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(28.28, 49.41, -33.99)
CIE-LCHlch(28.28, 59.97, 325.47°)
OKLaboklab(40.34% 0.1341 -0.0948)
OKLCHoklch(40.34% 0.164 324.7)
XYZxyz(10.5476, 5.5627, 18.2838)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711978 #207819
analogous
#411978 #711978 #78194F
triadic
#711978 #787119 #197871
tetradic
#711978 #784119 #207819 #194F78
square
#711978 #784119 #207819 #194F78
split-complementary
#711978 #4F7819 #197841
monochromatic
#180519 #410E45 #711978 #A124AB #C936D5

Accessibility & contrast

On white

9.94
#711978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#711978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711978
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711978#FFFFFF#000000##FFFFFF
##7119781.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2D4676
Tritanopia (blue-blind)
#732B48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #711978;
/* rgb */ color: rgb(113, 25, 120);
/* oklch */ color: oklch(40.3% 0.164 324.7);
Tailwind
colors: {
  custom: {
    50: '#9d619f',
    500: '#711978',
    950: '#000000',
  },
}
SCSS
$custom: #711978;
$custom-light: #9d619f;
$custom-dark: #000000;
JSON
{
  "hex": "#711978",
  "rgb": {
    "r": 113,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 295.579,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.16419,
    "h": 324.7
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#711978
secondary
#48AD40
accent
#E83F4C
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #711978

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

Preview Lab → · Contrast checker → · Palette generator →

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