#712F71#712F71

#712F71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.3% C 0.128 H 327.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#712F71
RGBrgb(113, 47, 113)
HSLhsl(300, 41%, 31%)
HSVhsv(300, 58%, 44%)
CMYKcmyk(0%, 58.4%, 0%, 55.7%)
CIE-LABlab(31.20, 38.78, -24.93)
CIE-LCHlch(31.20, 46.10, 327.27°)
OKLaboklab(42.32% 0.1079 -0.0686)
OKLCHoklch(42.32% 0.128 327.5)
XYZxyz(10.8070, 6.7367, 16.3507)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F71 #2F712F
analogous
#502F71 #712F71 #712F50
triadic
#712F71 #71712F #2F7171
tetradic
#712F71 #71502F #2F712F #2F5071
square
#712F71 #71502F #2F712F #2F5071
split-complementary
#712F71 #50712F #2F7150
monochromatic
#1B0B1B #461D46 #712F71 #9C419C #BC5EBC

Accessibility & contrast

On white

8.95
#712F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F71
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F71#FFFFFF#000000##FFFFFF
##712F711.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#74374B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712f71;
/* rgb */ color: rgb(113, 47, 113);
/* oklch */ color: oklch(42.3% 0.128 327.5);
Tailwind
colors: {
  custom: {
    50: '#9c6b9a',
    500: '#712f71',
    950: '#000000',
  },
}
SCSS
$custom: #712f71;
$custom-light: #9c6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#712f71",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.12788,
    "h": 327.5
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#712F71
secondary
#5AA25A
accent
#D15757
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712F71

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

Preview Lab → · Contrast checker → · Palette generator →

#712F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva