#712D9D#712D9D

#712D9D is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.176 H 308.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#712D9D
RGBrgb(113, 45, 157)
HSLhsl(276, 55%, 40%)
HSVhsv(276, 71%, 62%)
CMYKcmyk(28%, 71.3%, 0%, 38.4%)
CIE-LABlab(33.61, 49.17, -48.36)
CIE-LCHlch(33.61, 68.97, 315.47°)
OKLaboklab(44.94% 0.1098 -0.137)
OKLCHoklch(44.94% 0.176 308.7)
XYZxyz(13.8330, 7.8220, 32.6728)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D9D #599D2D
analogous
#392D9D #712D9D #9D2D91
triadic
#712D9D #9D712D #2D9D71
tetradic
#712D9D #9D392D #599D2D #2D919D
square
#712D9D #9D392D #599D2D #2D919D
split-complementary
#712D9D #919D2D #2D9D39
monochromatic
#2D123E #4F1F6D #712D9D #923FC8 #AD6FD6

Accessibility & contrast

On white

8.19
#712D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#712D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D9D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D9D#FFFFFF#000000##FFFFFF
##712D9D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#6A4662
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712d9d;
/* rgb */ color: rgb(113, 45, 157);
/* oklch */ color: oklch(44.9% 0.176 308.7);
Tailwind
colors: {
  custom: {
    50: '#9e6cbb',
    500: '#712d9d',
    950: '#000000',
  },
}
SCSS
$custom: #712d9d;
$custom-light: #9e6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712d9d",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 276.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44942,
    "c": 0.17558,
    "h": 308.7
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#712D9D
secondary
#8ABD69
accent
#DF4984
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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