#712181#712181

#712181 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.163 H 320.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#712181
RGBrgb(113, 33, 129)
HSLhsl(290, 59%, 32%)
HSVhsv(290, 74%, 51%)
CMYKcmyk(12.4%, 74.4%, 0%, 49.4%)
CIE-LABlab(29.87, 48.25, -37.12)
CIE-LCHlch(29.87, 60.88, 322.42°)
OKLaboklab(41.66% 0.1257 -0.104)
OKLCHoklch(41.66% 0.163 320.4)
XYZxyz(11.3159, 6.1840, 21.3622)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712181 #318121
analogous
#412181 #712181 #812161
triadic
#712181 #817121 #218171
tetradic
#712181 #814121 #318121 #216181
square
#712181 #814121 #318121 #216181
split-complementary
#712181 #618121 #218141
monochromatic
#1C0820 #461550 #712181 #9C2DB2 #BB4BD1

Accessibility & contrast

On white

9.39
#712181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#712181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712181
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712181#FFFFFF#000000##FFFFFF
##7121811.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712181;
/* rgb */ color: rgb(113, 33, 129);
/* oklch */ color: oklch(41.7% 0.163 320.4);
Tailwind
colors: {
  custom: {
    50: '#9d65a6',
    500: '#712181',
    950: '#000000',
  },
}
SCSS
$custom: #712181;
$custom-light: #9d65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#712181",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 290,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.16309,
    "h": 320.4
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#712181
secondary
#5CB44A
accent
#E24560
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #712181

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

Preview Lab → · Contrast checker → · Palette generator →

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