#712989#712989

#712989 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 316.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#712989
RGBrgb(113, 41, 137)
HSLhsl(285, 54%, 35%)
HSVhsv(285, 70%, 54%)
CMYKcmyk(17.5%, 70.1%, 0%, 46.3%)
CIE-LABlab(31.59, 46.54, -39.36)
CIE-LCHlch(31.59, 60.95, 319.78°)
OKLaboklab(43.06% 0.1163 -0.1106)
OKLCHoklch(43.06% 0.16 316.4)
XYZxyz(12.1177, 6.9032, 24.3562)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712989 #418929
analogous
#412989 #712989 #892971
triadic
#712989 #897129 #298971
tetradic
#712989 #894129 #418929 #297189
square
#712989 #894129 #418929 #297189
split-complementary
#712989 #718929 #298941
monochromatic
#230D2B #4A1B5A #712989 #9837B8 #B25ECF

Accessibility & contrast

On white

8.82
#712989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#712989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712989
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712989#FFFFFF#000000##FFFFFF
##7129891.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#2A4C87
Tritanopia (blue-blind)
#703C56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712989;
/* rgb */ color: rgb(113, 41, 137);
/* oklch */ color: oklch(43.1% 0.160 316.4);
Tailwind
colors: {
  custom: {
    50: '#9d69ac',
    500: '#712989',
    950: '#000000',
  },
}
SCSS
$custom: #712989;
$custom-light: #9d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#712989",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 285,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.16049,
    "h": 316.4
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#712989
secondary
#70B45A
accent
#DD4A6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712989

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

Preview Lab → · Contrast checker → · Palette generator →

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