#712A96#712A96

#712A96 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.172 H 311.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#712A96
RGBrgb(113, 42, 150)
HSLhsl(279, 56%, 38%)
HSVhsv(279, 72%, 59%)
CMYKcmyk(24.7%, 72%, 0%, 41.2%)
CIE-LABlab(32.63, 48.93, -45.68)
CIE-LCHlch(32.63, 66.94, 316.97°)
OKLaboklab(44.09% 0.1139 -0.1291)
OKLCHoklch(44.09% 0.172 311.4)
XYZxyz(13.1420, 7.3690, 29.5783)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A96 #4F962A
analogous
#3B2A96 #712A96 #962A85
triadic
#712A96 #96712A #2A9671
tetradic
#712A96 #963B2A #4F962A #2A8596
square
#712A96 #963B2A #4F962A #2A8596
split-complementary
#712A96 #85962A #2A963B
monochromatic
#290F36 #4D1D66 #712A96 #9537C6 #AF66D4

Accessibility & contrast

On white

8.49
#712A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#712A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A96
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A96#FFFFFF#000000##FFFFFF
##712A961.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#6C415D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712a96;
/* rgb */ color: rgb(113, 42, 150);
/* oklch */ color: oklch(44.1% 0.172 311.4);
Tailwind
colors: {
  custom: {
    50: '#9e6ab5',
    500: '#712a96',
    950: '#000000',
  },
}
SCSS
$custom: #712a96;
$custom-light: #9e6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#712a96",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 279.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.1722,
    "h": 311.4
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#712A96
secondary
#80BA61
accent
#E0487C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A96

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

Preview Lab → · Contrast checker → · Palette generator →

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