#712C84#712C84

#712C84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.151 H 318.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#712C84
RGBrgb(113, 44, 132)
HSLhsl(287, 50%, 35%)
HSVhsv(287, 67%, 52%)
CMYKcmyk(14.4%, 66.7%, 0%, 48.2%)
CIE-LABlab(31.76, 44.11, -35.98)
CIE-LCHlch(31.76, 56.92, 320.79°)
OKLaboklab(43.08% 0.1129 -0.1007)
OKLCHoklch(43.08% 0.151 318.3)
XYZxyz(11.8750, 6.9785, 22.5468)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C84 #3F842C
analogous
#452C84 #712C84 #842C6B
triadic
#712C84 #84712C #2C8471
tetradic
#712C84 #84452C #3F842C #2C6B84
square
#712C84 #84452C #3F842C #2C6B84
split-complementary
#712C84 #6B842C #2C8445
monochromatic
#220D28 #4A1D56 #712C84 #983BB2 #B360CA

Accessibility & contrast

On white

8.77
#712C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C84
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C84#FFFFFF#000000##FFFFFF
##712C841.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4687
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#713C54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712c84;
/* rgb */ color: rgb(113, 44, 132);
/* oklch */ color: oklch(43.1% 0.151 318.3);
Tailwind
colors: {
  custom: {
    50: '#9d6aa8',
    500: '#712c84',
    950: '#000000',
  },
}
SCSS
$custom: #712c84;
$custom-light: #9d6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#712c84",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 287.045,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.15131,
    "h": 318.3
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#712C84
secondary
#6EB05C
accent
#DA4E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C84

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

Preview Lab → · Contrast checker → · Palette generator →

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