#712C9D#712C9D

#712C9D is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 308.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#712C9D
RGBrgb(113, 44, 157)
HSLhsl(277, 56%, 39%)
HSVhsv(277, 72%, 62%)
CMYKcmyk(28%, 72%, 0%, 38.4%)
CIE-LABlab(33.45, 49.62, -48.62)
CIE-LCHlch(33.45, 69.47, 315.58°)
OKLaboklab(44.83% 0.1109 -0.1378)
OKLCHoklch(44.83% 0.177 308.8)
XYZxyz(13.7953, 7.7466, 32.6603)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C9D #589D2C
analogous
#382C9D #712C9D #9D2C91
triadic
#712C9D #9D712C #2C9D71
tetradic
#712C9D #9D382C #589D2C #2C919D
square
#712C9D #9D382C #589D2C #2C919D
split-complementary
#712C9D #919D2C #2C9D38
monochromatic
#2C113D #4F1F6D #712C9D #933DC9 #AD6DD6

Accessibility & contrast

On white

8.24
#712C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#712C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C9D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C9D#FFFFFF#000000##FFFFFF
##712C9D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#114F9B
Tritanopia (blue-blind)
#6A4561
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712c9d;
/* rgb */ color: rgb(113, 44, 157);
/* oklch */ color: oklch(44.8% 0.177 308.8);
Tailwind
colors: {
  custom: {
    50: '#9e6bbb',
    500: '#712c9d',
    950: '#000000',
  },
}
SCSS
$custom: #712c9d;
$custom-light: #9e6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#712c9d",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 276.637,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.17683,
    "h": 308.8
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#712C9D
secondary
#89BD68
accent
#E04883
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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