#711871#711871

#711871 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.159 H 328.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#711871
RGBrgb(113, 24, 113)
HSLhsl(300, 65%, 27%)
HSVhsv(300, 79%, 44%)
CMYKcmyk(0%, 78.8%, 0%, 55.7%)
CIE-LABlab(27.73, 48.48, -30.41)
CIE-LCHlch(27.73, 57.23, 327.90°)
OKLaboklab(39.81% 0.1353 -0.0843)
OKLCHoklch(39.81% 0.159 328.1)
XYZxyz(10.1172, 5.3570, 16.1207)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711871 #187118
analogous
#451871 #711871 #711845
triadic
#711871 #717118 #187171
tetradic
#711871 #714518 #187118 #184571
square
#711871 #714518 #187118 #184571
split-complementary
#711871 #457118 #187145
monochromatic
#190519 #3F0D3F #711871 #A323A3 #D330D3

Accessibility & contrast

On white

10.14
#711871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#711871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711871
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711871#FFFFFF#000000##FFFFFF
##7118711.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#31456F
Tritanopia (blue-blind)
#752744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #711871;
/* rgb */ color: rgb(113, 24, 113);
/* oklch */ color: oklch(39.8% 0.159 328.1);
Tailwind
colors: {
  custom: {
    50: '#9d609a',
    500: '#711871',
    950: '#000000',
  },
}
SCSS
$custom: #711871;
$custom-light: #9d609a;
$custom-dark: #000000;
JSON
{
  "hex": "#711871",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.15942,
    "h": 328.1
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#711871
secondary
#3EA63E
accent
#E84040
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #711871

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

Preview Lab → · Contrast checker → · Palette generator →

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