#711272#711272

#711272 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.166 H 327.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#711272
RGBrgb(113, 18, 114)
HSLhsl(299, 73%, 26%)
HSVhsv(299, 84%, 45%)
CMYKcmyk(0.9%, 84.2%, 0%, 55.3%)
CIE-LABlab(27.18, 50.41, -31.92)
CIE-LCHlch(27.18, 59.66, 327.66°)
OKLaboklab(39.44% 0.1402 -0.0887)
OKLCHoklch(39.44% 0.166 327.7)
XYZxyz(10.0635, 5.1590, 16.3821)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711272 #137212
analogous
#411272 #711272 #721243
triadic
#711272 #727112 #127271
tetradic
#711272 #724112 #137212 #124372
square
#711272 #724112 #137212 #124372
split-complementary
#711272 #437212 #127241
monochromatic
#1A041A #3D0A3D #711272 #A51AA7 #DA23DC

Accessibility & contrast

On white

10.34
#711272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#711272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711272
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711272#FFFFFF#000000##FFFFFF
##7112721.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#752443
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #711272;
/* rgb */ color: rgb(113, 18, 114);
/* oklch */ color: oklch(39.4% 0.166 327.7);
Tailwind
colors: {
  custom: {
    50: '#9d5e9b',
    500: '#711272',
    950: '#000000',
  },
}
SCSS
$custom: #711272;
$custom-light: #9d5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#711272",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 299.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.1659,
    "h": 327.7
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#711272
secondary
#38A937
accent
#EF383A
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #711272

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

Preview Lab → · Contrast checker → · Palette generator →

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