#712B97#712B97

#712B97 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.172 H 311.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#712B97
RGBrgb(113, 43, 151)
HSLhsl(279, 56%, 38%)
HSVhsv(279, 72%, 59%)
CMYKcmyk(25.2%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.86, 48.71, -45.92)
CIE-LCHlch(32.86, 66.94, 316.69°)
OKLaboklab(44.27% 0.1127 -0.1298)
OKLCHoklch(44.27% 0.172 311)
XYZxyz(13.2588, 7.4731, 30.0162)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B97 #51972B
analogous
#3B2B97 #712B97 #972B87
triadic
#712B97 #97712B #2B9771
tetradic
#712B97 #973B2B #51972B #2B8797
square
#712B97 #973B2B #51972B #2B8797
split-complementary
#712B97 #87972B #2B973B
monochromatic
#2A1038 #4D1D67 #712B97 #9539C7 #AE68D4

Accessibility & contrast

On white

8.42
#712B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#712B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B97
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B97#FFFFFF#000000##FFFFFF
##712B971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712b97;
/* rgb */ color: rgb(113, 43, 151);
/* oklch */ color: oklch(44.3% 0.172 311.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bb6',
    500: '#712b97',
    950: '#000000',
  },
}
SCSS
$custom: #712b97;
$custom-light: #9e6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#712b97",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 278.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.17195,
    "h": 311
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#712B97
secondary
#82BB63
accent
#DF497E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712B97

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

Preview Lab → · Contrast checker → · Palette generator →

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