#712197#712197

#712197 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.184 H 311.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#712197
RGBrgb(113, 33, 151)
HSLhsl(281, 64%, 36%)
HSVhsv(281, 78%, 59%)
CMYKcmyk(25.2%, 78.1%, 0%, 40.8%)
CIE-LABlab(31.42, 52.80, -48.25)
CIE-LCHlch(31.42, 71.52, 317.58°)
OKLaboklab(43.26% 0.1226 -0.1366)
OKLCHoklch(43.26% 0.184 311.9)
XYZxyz(12.9388, 6.8331, 29.9095)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712197 #479721
analogous
#362197 #712197 #972182
triadic
#712197 #977121 #219771
tetradic
#712197 #973621 #479721 #218297
square
#712197 #973621 #479721 #218297
split-complementary
#712197 #829721 #219736
monochromatic
#260B33 #4B1665 #712197 #972CC9 #B058DA

Accessibility & contrast

On white

8.87
#712197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712197
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712197#FFFFFF#000000##FFFFFF
##7121971.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#0B4B95
Tritanopia (blue-blind)
#6C3D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712197;
/* rgb */ color: rgb(113, 33, 151);
/* oklch */ color: oklch(43.3% 0.184 311.9);
Tailwind
colors: {
  custom: {
    50: '#9e66b6',
    500: '#712197',
    950: '#000000',
  },
}
SCSS
$custom: #712197;
$custom-light: #9e66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712197",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 280.678,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.18357,
    "h": 311.9
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#712197
secondary
#77BE55
accent
#E74176
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712197

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

Preview Lab → · Contrast checker → · Palette generator →

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