#712D8B#712D8B

#712D8B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.157 H 315.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#712D8B
RGBrgb(113, 45, 139)
HSLhsl(283, 51%, 36%)
HSVhsv(283, 68%, 55%)
CMYKcmyk(18.7%, 67.6%, 0%, 45.5%)
CIE-LABlab(32.37, 45.14, -39.34)
CIE-LCHlch(32.37, 59.87, 318.93°)
OKLaboklab(43.66% 0.1115 -0.1105)
OKLCHoklch(43.66% 0.157 315.2)
XYZxyz(12.4079, 7.2520, 25.1673)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D8B #478B2D
analogous
#422D8B #712D8B #8B2D76
triadic
#712D8B #8B712D #2D8B71
tetradic
#712D8B #8B422D #478B2D #2D768B
square
#712D8B #8B422D #478B2D #2D768B
split-complementary
#712D8B #768B2D #2D8B42
monochromatic
#260F2F #4B1E5D #712D8B #973CB9 #B065CD

Accessibility & contrast

On white

8.57
#712D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#712D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D8B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D8B#FFFFFF#000000##FFFFFF
##712D8B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#6F3F58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712d8b;
/* rgb */ color: rgb(113, 45, 139);
/* oklch */ color: oklch(43.7% 0.157 315.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bad',
    500: '#712d8b',
    950: '#000000',
  },
}
SCSS
$custom: #712d8b;
$custom-light: #9d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#712d8b",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 283.404,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.15699,
    "h": 315.2
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#712D8B
secondary
#77B460
accent
#DB4D74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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