#712F82#712F82

#712F82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.145 H 318.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#712F82
RGBrgb(113, 47, 130)
HSLhsl(288, 47%, 35%)
HSVhsv(288, 64%, 51%)
CMYKcmyk(13.1%, 63.8%, 0%, 49%)
CIE-LABlab(32.16, 42.24, -34.10)
CIE-LCHlch(32.16, 54.28, 321.09°)
OKLaboklab(43.33% 0.1091 -0.0952)
OKLCHoklch(43.33% 0.145 318.9)
XYZxyz(11.8553, 7.1560, 21.8715)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F82 #40822F
analogous
#482F82 #712F82 #822F6A
triadic
#712F82 #82712F #2F8271
tetradic
#712F82 #82482F #40822F #2F6A82
square
#712F82 #82482F #40822F #2F6A82
split-complementary
#712F82 #6A822F #2F8248
monochromatic
#230E28 #4A1F55 #712F82 #983FAF #B364C7

Accessibility & contrast

On white

8.64
#712F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712F82
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F82#FFFFFF#000000##FFFFFF
##712F821.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#713D54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712f82;
/* rgb */ color: rgb(113, 47, 130);
/* oklch */ color: oklch(43.3% 0.145 318.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ca7',
    500: '#712f82',
    950: '#000000',
  },
}
SCSS
$custom: #712f82;
$custom-light: #9c6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#712f82",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 287.711,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.14482,
    "h": 318.9
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#712F82
secondary
#6FAE5F
accent
#D7516D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712F82

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

Preview Lab → · Contrast checker → · Palette generator →

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