#712F81#712F81

#712F81 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.144 H 319.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#712F81
RGBrgb(113, 47, 129)
HSLhsl(288, 47%, 35%)
HSVhsv(288, 64%, 51%)
CMYKcmyk(12.4%, 63.6%, 0%, 49.4%)
CIE-LABlab(32.10, 42.03, -33.57)
CIE-LCHlch(32.10, 53.79, 321.38°)
OKLaboklab(43.27% 0.1091 -0.0937)
OKLCHoklch(43.27% 0.144 319.3)
XYZxyz(11.7885, 7.1292, 21.5197)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F81 #3F812F
analogous
#482F81 #712F81 #812F68
triadic
#712F81 #81712F #2F8171
tetradic
#712F81 #81482F #3F812F #2F6881
square
#712F81 #81482F #3F812F #2F6881
split-complementary
#712F81 #68812F #2F8148
monochromatic
#220E27 #4A1F54 #712F81 #983FAE #B364C6

Accessibility & contrast

On white

8.66
#712F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F81
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F81#FFFFFF#000000##FFFFFF
##712F811.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#354E7F
Tritanopia (blue-blind)
#713C53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712f81;
/* rgb */ color: rgb(113, 47, 129);
/* oklch */ color: oklch(43.3% 0.144 319.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ca6',
    500: '#712f81',
    950: '#000000',
  },
}
SCSS
$custom: #712f81;
$custom-light: #9c6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#712f81",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 288.293,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.1438,
    "h": 319.3
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#712F81
secondary
#6EAD5E
accent
#D6526B
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712F81

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

Preview Lab → · Contrast checker → · Palette generator →

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