#712D84#712D84

#712D84 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.150 H 318.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#712D84
RGBrgb(113, 45, 132)
HSLhsl(287, 49%, 35%)
HSVhsv(287, 66%, 52%)
CMYKcmyk(14.4%, 65.9%, 0%, 48.2%)
CIE-LABlab(31.93, 43.63, -35.71)
CIE-LCHlch(31.93, 56.38, 320.70°)
OKLaboklab(43.2% 0.1117 -0.0999)
OKLCHoklch(43.2% 0.15 318.2)
XYZxyz(11.9127, 7.0539, 22.5594)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D84 #40842D
analogous
#462D84 #712D84 #842D6B
triadic
#712D84 #84712D #2D8471
tetradic
#712D84 #84462D #40842D #2D6B84
square
#712D84 #84462D #40842D #2D6B84
split-complementary
#712D84 #6B842D #2D8446
monochromatic
#230E29 #4A1D56 #712D84 #983DB2 #B362C9

Accessibility & contrast

On white

8.71
#712D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#712D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D84
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D84#FFFFFF#000000##FFFFFF
##712D841.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114787
Deuteranopia (green-blind)
#314D82
Tritanopia (blue-blind)
#713C54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712d84;
/* rgb */ color: rgb(113, 45, 132);
/* oklch */ color: oklch(43.2% 0.150 318.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ba8',
    500: '#712d84',
    950: '#000000',
  },
}
SCSS
$custom: #712d84;
$custom-light: #9d6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#712d84",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 286.897,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.14985,
    "h": 318.2
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#712D84
secondary
#6FB05D
accent
#D94F6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D84

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

Preview Lab → · Contrast checker → · Palette generator →

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