#712D8D#712D8D

#712D8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.159 H 314.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#712D8D
RGBrgb(113, 45, 141)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 68%, 55%)
CMYKcmyk(19.9%, 68.1%, 0%, 44.7%)
CIE-LABlab(32.50, 45.57, -40.36)
CIE-LCHlch(32.50, 60.88, 318.47°)
OKLaboklab(43.8% 0.1114 -0.1135)
OKLCHoklch(43.8% 0.159 314.5)
XYZxyz(12.5554, 7.3110, 25.9439)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D8D #498D2D
analogous
#412D8D #712D8D #8D2D79
triadic
#712D8D #8D712D #2D8D71
tetradic
#712D8D #8D412D #498D2D #2D798D
square
#712D8D #8D412D #498D2D #2D798D
split-complementary
#712D8D #798D2D #2D8D41
monochromatic
#270F30 #4C1E5F #712D8D #963CBB #B066CE

Accessibility & contrast

On white

8.53
#712D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#712D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D8D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D8D#FFFFFF#000000##FFFFFF
##712D8D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#6F4059
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712d8d;
/* rgb */ color: rgb(113, 45, 141);
/* oklch */ color: oklch(43.8% 0.159 314.5);
Tailwind
colors: {
  custom: {
    50: '#9d6baf',
    500: '#712d8d',
    950: '#000000',
  },
}
SCSS
$custom: #712d8d;
$custom-light: #9d6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#712d8d",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 282.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.438,
    "c": 0.15904,
    "h": 314.5
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#712D8D
secondary
#79B561
accent
#DB4D76
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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