#712798#712798

#712798 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.178 H 311.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#712798
RGBrgb(113, 39, 152)
HSLhsl(279, 59%, 37%)
HSVhsv(279, 74%, 60%)
CMYKcmyk(25.7%, 74.3%, 0%, 40.4%)
CIE-LABlab(32.32, 50.65, -47.40)
CIE-LCHlch(32.32, 69.37, 316.90°)
OKLaboklab(43.91% 0.1168 -0.1341)
OKLCHoklch(43.91% 0.178 311)
XYZxyz(13.2020, 7.2291, 30.3996)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712798 #4E9827
analogous
#392798 #712798 #982786
triadic
#712798 #987127 #279871
tetradic
#712798 #983927 #4E9827 #278698
square
#712798 #983927 #4E9827 #278698
split-complementary
#712798 #869827 #279839
monochromatic
#290E37 #4D1B67 #712798 #9533C9 #AF63D7

Accessibility & contrast

On white

8.59
#712798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#712798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712798
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712798#FFFFFF#000000##FFFFFF
##7127981.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#6C415D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712798;
/* rgb */ color: rgb(113, 39, 152);
/* oklch */ color: oklch(43.9% 0.178 311.0);
Tailwind
colors: {
  custom: {
    50: '#9e69b7',
    500: '#712798',
    950: '#000000',
  },
}
SCSS
$custom: #712798;
$custom-light: #9e69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#712798",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 279.292,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.17785,
    "h": 311
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#712798
secondary
#7FBC5E
accent
#E2457C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712798

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

Preview Lab → · Contrast checker → · Palette generator →

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