#712698#712698

#712698 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.179 H 311.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#712698
RGBrgb(113, 38, 152)
HSLhsl(279, 60%, 37%)
HSVhsv(279, 75%, 60%)
CMYKcmyk(25.7%, 75%, 0%, 40.4%)
CIE-LABlab(32.18, 51.07, -47.64)
CIE-LCHlch(32.18, 69.84, 316.99°)
OKLaboklab(43.81% 0.1178 -0.1348)
OKLCHoklch(43.81% 0.179 311.1)
XYZxyz(13.1696, 7.1643, 30.3888)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712698 #4D9826
analogous
#382698 #712698 #982686
triadic
#712698 #987126 #269871
tetradic
#712698 #983826 #4D9826 #268698
square
#712698 #983826 #4D9826 #268698
split-complementary
#712698 #869826 #269838
monochromatic
#280E36 #4D1A67 #712698 #9532C9 #AF61D7

Accessibility & contrast

On white

8.63
#712698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712698
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712698#FFFFFF#000000##FFFFFF
##7126981.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#114D96
Tritanopia (blue-blind)
#6C405D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712698;
/* rgb */ color: rgb(113, 38, 152);
/* oklch */ color: oklch(43.8% 0.179 311.1);
Tailwind
colors: {
  custom: {
    50: '#9e68b7',
    500: '#712698',
    950: '#000000',
  },
}
SCSS
$custom: #712698;
$custom-light: #9e68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#712698",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 279.474,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.17902,
    "h": 311.1
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#712698
secondary
#7EBD5D
accent
#E3457B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712698

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

Preview Lab → · Contrast checker → · Palette generator →

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