#712281#712281

#712281 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.162 H 320.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#712281
RGBrgb(113, 34, 129)
HSLhsl(290, 58%, 32%)
HSVhsv(290, 74%, 51%)
CMYKcmyk(12.4%, 73.6%, 0%, 49.4%)
CIE-LABlab(30.01, 47.85, -36.90)
CIE-LCHlch(30.01, 60.43, 322.36°)
OKLaboklab(41.76% 0.1246 -0.1033)
OKLCHoklch(41.76% 0.162 320.3)
XYZxyz(11.3440, 6.2403, 21.3716)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712281 #328122
analogous
#422281 #712281 #812262
triadic
#712281 #817122 #228171
tetradic
#712281 #814222 #328122 #226281
square
#712281 #814222 #328122 #226281
split-complementary
#712281 #628122 #228142
monochromatic
#1C0820 #471551 #712281 #9B2FB1 #BA4DD0

Accessibility & contrast

On white

9.34
#712281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#712281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712281
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712281#FFFFFF#000000##FFFFFF
##7122811.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#2B497F
Tritanopia (blue-blind)
#72344F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712281;
/* rgb */ color: rgb(113, 34, 129);
/* oklch */ color: oklch(41.8% 0.162 320.3);
Tailwind
colors: {
  custom: {
    50: '#9d65a6',
    500: '#712281',
    950: '#000000',
  },
}
SCSS
$custom: #712281;
$custom-light: #9d65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712281",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 289.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.16187,
    "h": 320.3
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#712281
secondary
#5DB34B
accent
#E14660
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #712281

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

Preview Lab → · Contrast checker → · Palette generator →

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