#711872#711872

#711872 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.160 H 327.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#711872
RGBrgb(113, 24, 114)
HSLhsl(299, 65%, 27%)
HSVhsv(299, 79%, 45%)
CMYKcmyk(0.9%, 78.9%, 0%, 55.3%)
CIE-LABlab(27.79, 48.65, -30.95)
CIE-LCHlch(27.79, 57.66, 327.54°)
OKLaboklab(39.87% 0.1353 -0.0859)
OKLCHoklch(39.87% 0.16 327.6)
XYZxyz(10.1738, 5.3796, 16.4188)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711872 #197218
analogous
#441872 #711872 #721846
triadic
#711872 #727118 #187271
tetradic
#711872 #724418 #197218 #184672
square
#711872 #724418 #197218 #184672
split-complementary
#711872 #467218 #187244
monochromatic
#190519 #3F0D3F #711872 #A323A5 #D231D4

Accessibility & contrast

On white

10.12
#711872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#711872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711872
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711872#FFFFFF#000000##FFFFFF
##7118721.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#314570
Tritanopia (blue-blind)
#752744
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #711872;
/* rgb */ color: rgb(113, 24, 114);
/* oklch */ color: oklch(39.9% 0.160 327.6);
Tailwind
colors: {
  custom: {
    50: '#9d609b',
    500: '#711872',
    950: '#000000',
  },
}
SCSS
$custom: #711872;
$custom-light: #9d609b;
$custom-dark: #000000;
JSON
{
  "hex": "#711872",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 299.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.16023,
    "h": 327.6
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#711872
secondary
#40A73E
accent
#E84041
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #711872

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

Preview Lab → · Contrast checker → · Palette generator →

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