#712A84#712A84

#712A84 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 318.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#712A84
RGBrgb(113, 42, 132)
HSLhsl(287, 52%, 34%)
HSVhsv(287, 68%, 52%)
CMYKcmyk(14.4%, 68.2%, 0%, 48.2%)
CIE-LABlab(31.42, 45.03, -36.52)
CIE-LCHlch(31.42, 57.98, 320.96°)
OKLaboklab(42.84% 0.1154 -0.1022)
OKLCHoklch(42.84% 0.154 318.5)
XYZxyz(11.8023, 6.8331, 22.5226)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A84 #3D842A
analogous
#442A84 #712A84 #842A6A
triadic
#712A84 #84712A #2A8471
tetradic
#712A84 #84442A #3D842A #2A6A84
square
#712A84 #84442A #3D842A #2A6A84
split-complementary
#712A84 #6A842A #2A8444
monochromatic
#220C27 #491B56 #712A84 #9939B2 #B45DCB

Accessibility & contrast

On white

8.87
#712A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A84
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A84#FFFFFF#000000##FFFFFF
##712A841.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074587
Deuteranopia (green-blind)
#2F4C82
Tritanopia (blue-blind)
#713A53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712a84;
/* rgb */ color: rgb(113, 42, 132);
/* oklch */ color: oklch(42.8% 0.154 318.5);
Tailwind
colors: {
  custom: {
    50: '#9d69a8',
    500: '#712a84',
    950: '#000000',
  },
}
SCSS
$custom: #712a84;
$custom-light: #9d69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#712a84",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 287.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.15416,
    "h": 318.5
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#712A84
secondary
#6BB159
accent
#DB4D6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A84

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

Preview Lab → · Contrast checker → · Palette generator →

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