#712B99#712B99

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

Color values

HEX#712B99
RGBrgb(113, 43, 153)
HSLhsl(278, 56%, 38%)
HSVhsv(278, 72%, 60%)
CMYKcmyk(26.1%, 71.9%, 0%, 40%)
CIE-LABlab(33.00, 49.16, -46.91)
CIE-LCHlch(33.00, 67.95, 316.34°)
OKLaboklab(44.42% 0.1125 -0.1327)
OKLCHoklch(44.42% 0.174 310.3)
XYZxyz(13.4226, 7.5387, 30.8788)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B99 #53992B
analogous
#3A2B99 #712B99 #992B8A
triadic
#712B99 #99712B #2B9971
tetradic
#712B99 #993A2B #53992B #2B8A99
square
#712B99 #993A2B #53992B #2B8A99
split-complementary
#712B99 #8A992B #2B993A
monochromatic
#2A1039 #4E1E69 #712B99 #943AC8 #AE69D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712B99#FFFFFF#000000##FFFFFF
##712B991.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)
#004B9C
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#6C435F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712b99;
/* rgb */ color: rgb(113, 43, 153);
/* oklch */ color: oklch(44.4% 0.174 310.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bb8',
    500: '#712b99',
    950: '#000000',
  },
}
SCSS
$custom: #712b99;
$custom-light: #9e6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#712b99",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 278.182,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.17399,
    "h": 310.3
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#712B99
secondary
#84BC64
accent
#DF487F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712B99

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

Preview Lab → · Contrast checker → · Palette generator →

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