#712381#712381

#712381 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.161 H 320.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#712381
RGBrgb(113, 35, 129)
HSLhsl(290, 57%, 32%)
HSVhsv(290, 73%, 51%)
CMYKcmyk(12.4%, 72.9%, 0%, 49.4%)
CIE-LABlab(30.15, 47.45, -36.67)
CIE-LCHlch(30.15, 59.97, 322.30°)
OKLaboklab(41.86% 0.1235 -0.1027)
OKLCHoklch(41.86% 0.161 320.3)
XYZxyz(11.3731, 6.2983, 21.3813)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712381 #338123
analogous
#422381 #712381 #812362
triadic
#712381 #817123 #238171
tetradic
#712381 #814223 #338123 #236281
square
#712381 #814223 #338123 #236281
split-complementary
#712381 #628123 #238142
monochromatic
#1D0921 #471651 #712381 #9B30B1 #B94FCF

Accessibility & contrast

On white

9.29
#712381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#712381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712381
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712381#FFFFFF#000000##FFFFFF
##7123811.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#72354F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712381;
/* rgb */ color: rgb(113, 35, 129);
/* oklch */ color: oklch(41.9% 0.161 320.3);
Tailwind
colors: {
  custom: {
    50: '#9d66a6',
    500: '#712381',
    950: '#000000',
  },
}
SCSS
$custom: #712381;
$custom-light: #9d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712381",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 289.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.16063,
    "h": 320.3
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#712381
secondary
#5EB34D
accent
#E14761
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712381

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

Preview Lab → · Contrast checker → · Palette generator →

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