#712A8D#712A8D

#712A8D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.163 H 314.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#712A8D
RGBrgb(113, 42, 141)
HSLhsl(283, 54%, 36%)
HSVhsv(283, 70%, 55%)
CMYKcmyk(19.9%, 70.2%, 0%, 44.7%)
CIE-LABlab(32.01, 46.95, -41.15)
CIE-LCHlch(32.01, 62.43, 318.76°)
OKLaboklab(43.45% 0.1149 -0.1158)
OKLCHoklch(43.45% 0.163 314.8)
XYZxyz(12.4449, 7.0902, 25.9071)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A8D #468D2A
analogous
#3F2A8D #712A8D #8D2A77
triadic
#712A8D #8D712A #2A8D71
tetradic
#712A8D #8D3F2A #468D2A #2A778D
square
#712A8D #8D3F2A #468D2A #2A778D
split-complementary
#712A8D #778D2A #2A8D3F
monochromatic
#250E2F #4B1C5E #712A8D #9738BC #B161D0

Accessibility & contrast

On white

8.68
#712A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#712A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A8D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A8D#FFFFFF#000000##FFFFFF
##712A8D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#6F3E58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712a8d;
/* rgb */ color: rgb(113, 42, 141);
/* oklch */ color: oklch(43.4% 0.163 314.8);
Tailwind
colors: {
  custom: {
    50: '#9d6aaf',
    500: '#712a8d',
    950: '#000000',
  },
}
SCSS
$custom: #712a8d;
$custom-light: #9d6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#712a8d",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 283.03,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.16313,
    "h": 314.8
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#712A8D
secondary
#76B65D
accent
#DD4A74
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #712A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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