#712A8F#712A8F

#712A8F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 314.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#712A8F
RGBrgb(113, 42, 143)
HSLhsl(282, 55%, 36%)
HSVhsv(282, 71%, 56%)
CMYKcmyk(21%, 70.6%, 0%, 43.9%)
CIE-LABlab(32.15, 47.38, -42.17)
CIE-LCHlch(32.15, 63.43, 318.33°)
OKLaboklab(43.59% 0.1147 -0.1188)
OKLCHoklch(43.59% 0.165 314)
XYZxyz(12.5951, 7.1502, 26.6979)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A8F #488F2A
analogous
#3F2A8F #712A8F #8F2A7B
triadic
#712A8F #8F712A #2A8F71
tetradic
#712A8F #8F3F2A #488F2A #2A7B8F
square
#712A8F #8F3F2A #488F2A #2A7B8F
split-complementary
#712A8F #7B8F2A #2A8F3F
monochromatic
#260E30 #4C1C60 #712A8F #9638BE #B062D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712A8F#FFFFFF#000000##FFFFFF
##712A8F1.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)
#004892
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#6E3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712a8f;
/* rgb */ color: rgb(113, 42, 143);
/* oklch */ color: oklch(43.6% 0.165 314.0);
Tailwind
colors: {
  custom: {
    50: '#9d6ab0',
    500: '#712a8f',
    950: '#000000',
  },
}
SCSS
$custom: #712a8f;
$custom-light: #9d6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#712a8f",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 282.178,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.16514,
    "h": 314
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#712A8F
secondary
#78B75E
accent
#DE4A76
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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