#712F8A#712F8A

#712F8A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.153 H 315.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#712F8A
RGBrgb(113, 47, 138)
HSLhsl(284, 49%, 36%)
HSVhsv(284, 66%, 54%)
CMYKcmyk(18.1%, 65.9%, 0%, 45.9%)
CIE-LABlab(32.66, 43.96, -38.27)
CIE-LCHlch(32.66, 58.28, 318.96°)
OKLaboklab(43.85% 0.1091 -0.1074)
OKLCHoklch(43.85% 0.153 315.4)
XYZxyz(12.4133, 7.3792, 24.8103)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F8A #488A2F
analogous
#442F8A #712F8A #8A2F76
triadic
#712F8A #8A712F #2F8A71
tetradic
#712F8A #8A442F #488A2F #2F768A
square
#712F8A #8A442F #488A2F #2F768A
split-complementary
#712F8A #768A2F #2F8A44
monochromatic
#26102F #4C1F5C #712F8A #963FB8 #B068CC

Accessibility & contrast

On white

8.48
#712F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#712F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F8A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F8A#FFFFFF#000000##FFFFFF
##712F8A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#6F4058
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712f8a;
/* rgb */ color: rgb(113, 47, 138);
/* oklch */ color: oklch(43.8% 0.153 315.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cad',
    500: '#712f8a',
    950: '#000000',
  },
}
SCSS
$custom: #712f8a;
$custom-light: #9d6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#712f8a",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 283.516,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.15309,
    "h": 315.4
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#712F8A
secondary
#78B362
accent
#D94F75
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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