#712D88#712D88

#712D88 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.154 H 316.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#712D88
RGBrgb(113, 45, 136)
HSLhsl(285, 50%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(16.9%, 66.9%, 0%, 46.7%)
CIE-LABlab(32.18, 44.49, -37.79)
CIE-LCHlch(32.18, 58.37, 319.65°)
OKLaboklab(43.46% 0.1116 -0.106)
OKLCHoklch(43.46% 0.154 316.5)
XYZxyz(12.1917, 7.1655, 24.0287)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D88 #44882D
analogous
#432D88 #712D88 #882D71
triadic
#712D88 #88712D #2D8871
tetradic
#712D88 #88432D #44882D #2D7188
square
#712D88 #88432D #44882D #2D7188
split-complementary
#712D88 #71882D #2D8843
monochromatic
#250F2C #4B1E5A #712D88 #973CB6 #B164CC

Accessibility & contrast

On white

8.63
#712D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712D88
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D88#FFFFFF#000000##FFFFFF
##712D881.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#703E56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712d88;
/* rgb */ color: rgb(113, 45, 136);
/* oklch */ color: oklch(43.5% 0.154 316.5);
Tailwind
colors: {
  custom: {
    50: '#9d6bab',
    500: '#712d88',
    950: '#000000',
  },
}
SCSS
$custom: #712d88;
$custom-light: #9d6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#712d88",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 284.835,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43463,
    "c": 0.15392,
    "h": 316.5
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#712D88
secondary
#74B25F
accent
#DA4E71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D88

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

Preview Lab → · Contrast checker → · Palette generator →

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