#712797#712797

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

Color values

HEX#712797
RGBrgb(113, 39, 151)
HSLhsl(280, 59%, 37%)
HSVhsv(280, 74%, 59%)
CMYKcmyk(25.2%, 74.2%, 0%, 40.8%)
CIE-LABlab(32.25, 50.43, -46.91)
CIE-LCHlch(32.25, 68.88, 317.07°)
OKLaboklab(43.84% 0.1169 -0.1327)
OKLCHoklch(43.84% 0.177 311.4)
XYZxyz(13.1204, 7.1964, 29.9700)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712797 #4D9727
analogous
#392797 #712797 #972785
triadic
#712797 #977127 #279771
tetradic
#712797 #973927 #4D9727 #278597
square
#712797 #973927 #4D9727 #278597
split-complementary
#712797 #859727 #279739
monochromatic
#280E36 #4D1A66 #712797 #9534C8 #AF62D6

Accessibility & contrast

On white

8.61
#712797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712797
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712797#FFFFFF#000000##FFFFFF
##7127971.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#154D95
Tritanopia (blue-blind)
#6C405D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712797;
/* rgb */ color: rgb(113, 39, 151);
/* oklch */ color: oklch(43.8% 0.177 311.4);
Tailwind
colors: {
  custom: {
    50: '#9e69b6',
    500: '#712797',
    950: '#000000',
  },
}
SCSS
$custom: #712797;
$custom-light: #9e69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#712797",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 279.643,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.17687,
    "h": 311.4
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#712797
secondary
#7EBC5E
accent
#E2467B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712797

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

Preview Lab → · Contrast checker → · Palette generator →

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