#712D97#712D97

#712D97 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.169 H 310.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#712D97
RGBrgb(113, 45, 151)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 59%)
CMYKcmyk(25.2%, 70.2%, 0%, 40.8%)
CIE-LABlab(33.18, 47.80, -45.40)
CIE-LCHlch(33.18, 65.93, 316.47°)
OKLaboklab(44.5% 0.1105 -0.1283)
OKLCHoklch(44.5% 0.169 310.7)
XYZxyz(13.3333, 7.6222, 30.0410)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D97 #53972D
analogous
#3C2D97 #712D97 #972D88
triadic
#712D97 #97712D #2D9771
tetradic
#712D97 #973C2D #53972D #2D8897
square
#712D97 #973C2D #53972D #2D8897
split-complementary
#712D97 #88972D #2D973C
monochromatic
#2A1139 #4E1F68 #712D97 #943CC5 #AE6BD3

Accessibility & contrast

On white

8.32
#712D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#712D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D97
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D97#FFFFFF#000000##FFFFFF
##712D971.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#6C445E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712d97;
/* rgb */ color: rgb(113, 45, 151);
/* oklch */ color: oklch(44.5% 0.169 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d6cb6',
    500: '#712d97',
    950: '#000000',
  },
}
SCSS
$custom: #712d97;
$custom-light: #9d6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#712d97",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 278.491,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.16937,
    "h": 310.7
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#712D97
secondary
#84BA66
accent
#DD4A7F
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712D97

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

Preview Lab → · Contrast checker → · Palette generator →

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