#712A97#712A97

#712A97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 311.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#712A97
RGBrgb(113, 42, 151)
HSLhsl(279, 56%, 38%)
HSVhsv(279, 72%, 59%)
CMYKcmyk(25.2%, 72.2%, 0%, 40.8%)
CIE-LABlab(32.70, 49.15, -46.18)
CIE-LCHlch(32.70, 67.44, 316.79°)
OKLaboklab(44.16% 0.1138 -0.1306)
OKLCHoklch(44.16% 0.173 311.1)
XYZxyz(13.2229, 7.4013, 30.0042)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A97 #50972A
analogous
#3B2A97 #712A97 #972A86
triadic
#712A97 #97712A #2A9771
tetradic
#712A97 #973B2A #50972A #2A8697
square
#712A97 #973B2A #50972A #2A8697
split-complementary
#712A97 #86972A #2A973B
monochromatic
#290F37 #4D1D67 #712A97 #9537C7 #AE67D5

Accessibility & contrast

On white

8.47
#712A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#712A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A97
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A97#FFFFFF#000000##FFFFFF
##712A971.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1A4E95
Tritanopia (blue-blind)
#6C425E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712a97;
/* rgb */ color: rgb(113, 42, 151);
/* oklch */ color: oklch(44.2% 0.173 311.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ab6',
    500: '#712a97',
    950: '#000000',
  },
}
SCSS
$custom: #712a97;
$custom-light: #9e6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#712a97",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 279.083,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.17321,
    "h": 311.1
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#712A97
secondary
#81BB62
accent
#E0487D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A97

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

Preview Lab → · Contrast checker → · Palette generator →

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