#712C97#712C97

#712C97 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 310.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#712C97
RGBrgb(113, 44, 151)
HSLhsl(279, 55%, 38%)
HSVhsv(279, 71%, 59%)
CMYKcmyk(25.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.02, 48.26, -45.66)
CIE-LCHlch(33.02, 66.44, 316.58°)
OKLaboklab(44.39% 0.1116 -0.1291)
OKLCHoklch(44.39% 0.171 310.9)
XYZxyz(13.2956, 7.5468, 30.0284)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C97 #52972C
analogous
#3C2C97 #712C97 #972C87
triadic
#712C97 #97712C #2C9771
tetradic
#712C97 #973C2C #52972C #2C8797
square
#712C97 #973C2C #52972C #2C8797
split-complementary
#712C97 #87972C #2C973C
monochromatic
#2A1038 #4E1E68 #712C97 #943AC6 #AE6AD4

Accessibility & contrast

On white

8.37
#712C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#712C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C97
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C97#FFFFFF#000000##FFFFFF
##712C971.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712c97;
/* rgb */ color: rgb(113, 44, 151);
/* oklch */ color: oklch(44.4% 0.171 310.9);
Tailwind
colors: {
  custom: {
    50: '#9e6bb6',
    500: '#712c97',
    950: '#000000',
  },
}
SCSS
$custom: #712c97;
$custom-light: #9e6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#712c97",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 278.692,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.17066,
    "h": 310.9
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#712C97
secondary
#83BA65
accent
#DE4A7E
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712C97

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

Preview Lab → · Contrast checker → · Palette generator →

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