#712D96#712D96

#712D96 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.168 H 311.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#712D96
RGBrgb(113, 45, 150)
HSLhsl(279, 54%, 38%)
HSVhsv(279, 70%, 59%)
CMYKcmyk(24.7%, 70%, 0%, 41.2%)
CIE-LABlab(33.11, 47.58, -44.90)
CIE-LCHlch(33.11, 65.42, 316.65°)
OKLaboklab(44.43% 0.1106 -0.1269)
OKLCHoklch(44.43% 0.168 311.1)
XYZxyz(13.2524, 7.5898, 29.6151)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D96 #52962D
analogous
#3C2D96 #712D96 #962D86
triadic
#712D96 #96712D #2D9671
tetradic
#712D96 #963C2D #52962D #2D8696
square
#712D96 #963C2D #52962D #2D8696
split-complementary
#712D96 #86962D #2D963C
monochromatic
#2A1138 #4E1F67 #712D96 #943CC4 #AE6BD3

Accessibility & contrast

On white

8.34
#712D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#712D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D96
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D96#FFFFFF#000000##FFFFFF
##712D961.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712d96;
/* rgb */ color: rgb(113, 45, 150);
/* oklch */ color: oklch(44.4% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cb5',
    500: '#712d96',
    950: '#000000',
  },
}
SCSS
$custom: #712d96;
$custom-light: #9d6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#712d96",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 278.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.16833,
    "h": 311.1
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#712D96
secondary
#83B965
accent
#DD4B7E
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712D96

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

Preview Lab → · Contrast checker → · Palette generator →

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