#712771#712771

#712771 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 327.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#712771
RGBrgb(113, 39, 113)
HSLhsl(300, 49%, 30%)
HSVhsv(300, 65%, 44%)
CMYKcmyk(0%, 65.5%, 0%, 55.7%)
CIE-LABlab(29.80, 42.62, -27.13)
CIE-LCHlch(29.80, 50.53, 327.52°)
OKLaboklab(41.3% 0.1188 -0.0749)
OKLCHoklch(41.3% 0.14 327.8)
XYZxyz(10.5161, 6.1547, 16.2537)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712771 #277127
analogous
#4C2771 #712771 #71274C
triadic
#712771 #717127 #277171
tetradic
#712771 #714C27 #277127 #274C71
square
#712771 #714C27 #277127 #274C71
split-complementary
#712771 #4C7127 #27714C
monochromatic
#170817 #441744 #712771 #9E379E #C350C3

Accessibility & contrast

On white

9.41
#712771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#712771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712771
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712771#FFFFFF#000000##FFFFFF
##7127711.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#743148
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712771;
/* rgb */ color: rgb(113, 39, 113);
/* oklch */ color: oklch(41.3% 0.140 327.8);
Tailwind
colors: {
  custom: {
    50: '#9c679a',
    500: '#712771',
    950: '#000000',
  },
}
SCSS
$custom: #712771;
$custom-light: #9c679a;
$custom-dark: #000000;
JSON
{
  "hex": "#712771",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.14041,
    "h": 327.8
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#712771
secondary
#50A350
accent
#D85050
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712771

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

Preview Lab → · Contrast checker → · Palette generator →

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