#712581#712581

#712581 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.158 H 320.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#712581
RGBrgb(113, 37, 129)
HSLhsl(290, 55%, 33%)
HSVhsv(290, 71%, 51%)
CMYKcmyk(12.4%, 71.3%, 0%, 49.4%)
CIE-LABlab(30.45, 46.62, -36.20)
CIE-LCHlch(30.45, 59.03, 322.17°)
OKLaboklab(42.07% 0.1213 -0.1013)
OKLCHoklch(42.07% 0.158 320.1)
XYZxyz(11.4336, 6.4194, 21.4014)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712581 #358125
analogous
#432581 #712581 #812563
triadic
#712581 #817125 #258171
tetradic
#712581 #814325 #358125 #256381
square
#712581 #814325 #358125 #256381
split-complementary
#712581 #638125 #258143
monochromatic
#1E0A22 #471751 #712581 #9B33B1 #B853CE

Accessibility & contrast

On white

9.20
#712581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#712581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712581
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712581#FFFFFF#000000##FFFFFF
##7125811.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#713650
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712581;
/* rgb */ color: rgb(113, 37, 129);
/* oklch */ color: oklch(42.1% 0.158 320.1);
Tailwind
colors: {
  custom: {
    50: '#9d67a6',
    500: '#712581',
    950: '#000000',
  },
}
SCSS
$custom: #712581;
$custom-light: #9d67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712581",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 129
  },
  "hsl": {
    "h": 289.565,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.15806,
    "h": 320.1
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#712581
secondary
#61B250
accent
#DF4963
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712581

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

Preview Lab → · Contrast checker → · Palette generator →

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