#712988#712988

#712988 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.159 H 316.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#712988
RGBrgb(113, 41, 136)
HSLhsl(285, 54%, 35%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(16.9%, 69.9%, 0%, 46.7%)
CIE-LABlab(31.52, 46.33, -38.85)
CIE-LCHlch(31.52, 60.46, 320.02°)
OKLaboklab(42.99% 0.1164 -0.1091)
OKLCHoklch(42.99% 0.159 316.9)
XYZxyz(12.0463, 6.8746, 23.9802)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712988 #408829
analogous
#422988 #712988 #88296F
triadic
#712988 #887129 #298871
tetradic
#712988 #884229 #408829 #296F88
square
#712988 #884229 #408829 #296F88
split-complementary
#712988 #6F8829 #298842
monochromatic
#230D2A #4A1B59 #712988 #9837B7 #B35DCE

Accessibility & contrast

On white

8.84
#712988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712988
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712988#FFFFFF#000000##FFFFFF
##7129881.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#703B55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712988;
/* rgb */ color: rgb(113, 41, 136);
/* oklch */ color: oklch(43.0% 0.159 316.9);
Tailwind
colors: {
  custom: {
    50: '#9d69ab',
    500: '#712988',
    950: '#000000',
  },
}
SCSS
$custom: #712988;
$custom-light: #9d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#712988",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 285.474,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.15949,
    "h": 316.9
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#712988
secondary
#6FB459
accent
#DD4B6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712988

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

Preview Lab → · Contrast checker → · Palette generator →

#712988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva