#712098#712098

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

Color values

HEX#712098
RGBrgb(113, 32, 152)
HSLhsl(281, 65%, 36%)
HSVhsv(281, 79%, 60%)
CMYKcmyk(25.7%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.37, 53.38, -48.94)
CIE-LCHlch(31.37, 72.42, 317.48°)
OKLaboklab(43.24% 0.1233 -0.1386)
OKLCHoklch(43.24% 0.186 311.7)
XYZxyz(12.9930, 6.8111, 30.3299)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712098 #479820
analogous
#352098 #712098 #982083
triadic
#712098 #987120 #209871
tetradic
#712098 #983520 #479820 #208398
square
#712098 #983520 #479820 #208398
split-complementary
#712098 #839820 #209835
monochromatic
#260B33 #4B1565 #712098 #972BCB #B057DC

Accessibility & contrast

On white

8.89
#712098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712098
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712098#FFFFFF#000000##FFFFFF
##7120981.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#054B96
Tritanopia (blue-blind)
#6C3D5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712098;
/* rgb */ color: rgb(113, 32, 152);
/* oklch */ color: oklch(43.2% 0.186 311.7);
Tailwind
colors: {
  custom: {
    50: '#9e65b7',
    500: '#712098',
    950: '#000000',
  },
}
SCSS
$custom: #712098;
$custom-light: #9e65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#712098",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 280.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.18555,
    "h": 311.7
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#712098
secondary
#77BF54
accent
#E84076
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #712098

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

Preview Lab → · Contrast checker → · Palette generator →

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