#712C8A#712C8A

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

Color values

HEX#712C8A
RGBrgb(113, 44, 138)
HSLhsl(284, 52%, 36%)
HSVhsv(284, 68%, 54%)
CMYKcmyk(18.1%, 68.1%, 0%, 45.9%)
CIE-LABlab(32.14, 45.39, -39.09)
CIE-LCHlch(32.14, 59.90, 319.26°)
OKLaboklab(43.48% 0.1127 -0.1098)
OKLCHoklch(43.48% 0.157 315.8)
XYZxyz(12.2975, 7.1475, 24.7716)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C8A #458A2C
analogous
#422C8A #712C8A #8A2C74
triadic
#712C8A #8A712C #2C8A71
tetradic
#712C8A #8A422C #458A2C #2C748A
square
#712C8A #8A422C #458A2C #2C748A
split-complementary
#712C8A #748A2C #2C8A42
monochromatic
#250E2D #4B1D5C #712C8A #973BB8 #B163CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712C8A#FFFFFF#000000##FFFFFF
##712C8A1.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)
#00488D
Deuteranopia (green-blind)
#2B4E88
Tritanopia (blue-blind)
#6F3E57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712c8a;
/* rgb */ color: rgb(113, 44, 138);
/* oklch */ color: oklch(43.5% 0.157 315.8);
Tailwind
colors: {
  custom: {
    50: '#9d6bad',
    500: '#712c8a',
    950: '#000000',
  },
}
SCSS
$custom: #712c8a;
$custom-light: #9d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#712c8a",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 284.043,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.15738,
    "h": 315.8
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#712C8A
secondary
#75B45E
accent
#DB4D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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