#712781#712781

#712781 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 320.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#712781
RGBrgb(113, 39, 129)
HSLhsl(289, 54%, 33%)
HSVhsv(289, 70%, 51%)
CMYKcmyk(12.4%, 69.8%, 0%, 49.4%)
CIE-LABlab(30.75, 45.76, -35.71)
CIE-LCHlch(30.75, 58.05, 322.03°)
OKLaboklab(42.29% 0.119 -0.0999)
OKLCHoklch(42.29% 0.155 320)
XYZxyz(11.4975, 6.5473, 21.4228)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712781 #378127
analogous
#442781 #712781 #812764
triadic
#712781 #817127 #278171
tetradic
#712781 #814427 #378127 #276481
square
#712781 #814427 #378127 #276481
split-complementary
#712781 #648127 #278144
monochromatic
#1F0B23 #481952 #712781 #9A35B0 #B756CC

Accessibility & contrast

On white

9.09
#712781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#712781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712781
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712781#FFFFFF#000000##FFFFFF
##7127811.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054384
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#713751
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712781;
/* rgb */ color: rgb(113, 39, 129);
/* oklch */ color: oklch(42.3% 0.155 320.0);
Tailwind
colors: {
  custom: {
    50: '#9d68a6',
    500: '#712781',
    950: '#000000',
  },
}
SCSS
$custom: #712781;
$custom-light: #9d68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712781",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 289.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.15539,
    "h": 320
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#712781
secondary
#64B153
accent
#DD4B65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712781

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

Preview Lab → · Contrast checker → · Palette generator →

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