#712196#712196

#712196 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.183 H 312.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#712196
RGBrgb(113, 33, 150)
HSLhsl(281, 64%, 36%)
HSVhsv(281, 78%, 59%)
CMYKcmyk(24.7%, 78%, 0%, 41.2%)
CIE-LABlab(31.35, 52.58, -47.75)
CIE-LCHlch(31.35, 71.03, 317.75°)
OKLaboklab(43.18% 0.1228 -0.1351)
OKLCHoklch(43.18% 0.183 312.3)
XYZxyz(12.8579, 6.8008, 29.4836)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712196 #469621
analogous
#372196 #712196 #962180
triadic
#712196 #967121 #219671
tetradic
#712196 #963721 #469621 #218096
square
#712196 #963721 #469621 #218096
split-complementary
#712196 #809621 #219637
monochromatic
#250B32 #4B1664 #712196 #972CC8 #B157DA

Accessibility & contrast

On white

8.90
#712196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#712196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712196
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712196#FFFFFF#000000##FFFFFF
##7121961.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#0E4B94
Tritanopia (blue-blind)
#6D3D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712196;
/* rgb */ color: rgb(113, 33, 150);
/* oklch */ color: oklch(43.2% 0.183 312.3);
Tailwind
colors: {
  custom: {
    50: '#9e66b6',
    500: '#712196',
    950: '#000000',
  },
}
SCSS
$custom: #712196;
$custom-light: #9e66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712196",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 281.026,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.18263,
    "h": 312.3
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#712196
secondary
#76BE55
accent
#E74175
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712196

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

Preview Lab → · Contrast checker → · Palette generator →

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