#712F97#712F97

#712F97 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.167 H 310.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#712F97
RGBrgb(113, 47, 151)
HSLhsl(278, 53%, 39%)
HSVhsv(278, 69%, 59%)
CMYKcmyk(25.2%, 68.9%, 0%, 40.8%)
CIE-LABlab(33.52, 46.87, -44.86)
CIE-LCHlch(33.52, 64.88, 316.25°)
OKLaboklab(44.74% 0.1083 -0.1267)
OKLCHoklch(44.74% 0.167 310.5)
XYZxyz(13.4114, 7.7784, 30.0670)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F97 #55972F
analogous
#3D2F97 #712F97 #972F89
triadic
#712F97 #97712F #2F9771
tetradic
#712F97 #973D2F #55972F #2F8997
square
#712F97 #973D2F #55972F #2F8997
split-complementary
#712F97 #89972F #2F973D
monochromatic
#2B123A #4E2068 #712F97 #9340C3 #AE6ED2

Accessibility & contrast

On white

8.22
#712F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#712F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F97
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F97#FFFFFF#000000##FFFFFF
##712F971.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#6C455F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712f97;
/* rgb */ color: rgb(113, 47, 151);
/* oklch */ color: oklch(44.7% 0.167 310.5);
Tailwind
colors: {
  custom: {
    50: '#9d6db6',
    500: '#712f97',
    950: '#000000',
  },
}
SCSS
$custom: #712f97;
$custom-light: #9d6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#712f97",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 278.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.1667,
    "h": 310.5
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#712F97
secondary
#86B968
accent
#DC4C81
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712F97

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

Preview Lab → · Contrast checker → · Palette generator →

#712F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva