#712981#712981

#712981 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.153 H 319.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#712981
RGBrgb(113, 41, 129)
HSLhsl(289, 52%, 33%)
HSVhsv(289, 68%, 51%)
CMYKcmyk(12.4%, 68.2%, 0%, 49.4%)
CIE-LABlab(31.07, 44.87, -35.21)
CIE-LCHlch(31.07, 57.03, 321.88°)
OKLaboklab(42.52% 0.1167 -0.0984)
OKLCHoklch(42.52% 0.153 319.8)
XYZxyz(11.5649, 6.6821, 21.4452)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712981 #398129
analogous
#452981 #712981 #812965
triadic
#712981 #817129 #298171
tetradic
#712981 #814529 #398129 #296581
square
#712981 #814529 #398129 #296581
split-complementary
#712981 #658129 #298145
monochromatic
#200B24 #481A53 #712981 #9A38AF #B65ACB

Accessibility & contrast

On white

8.99
#712981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712981
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712981#FFFFFF#000000##FFFFFF
##7129811.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4484
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#713851
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712981;
/* rgb */ color: rgb(113, 41, 129);
/* oklch */ color: oklch(42.5% 0.153 319.8);
Tailwind
colors: {
  custom: {
    50: '#9d69a6',
    500: '#712981',
    950: '#000000',
  },
}
SCSS
$custom: #712981;
$custom-light: #9d69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712981",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 289.091,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.15262,
    "h": 319.8
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#712981
secondary
#66B056
accent
#DB4D67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712981

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

Preview Lab → · Contrast checker → · Palette generator →

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