#712D9C#712D9C

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

Color values

HEX#712D9C
RGBrgb(113, 45, 156)
HSLhsl(277, 55%, 39%)
HSVhsv(277, 71%, 61%)
CMYKcmyk(27.6%, 71.2%, 0%, 38.8%)
CIE-LABlab(33.54, 48.94, -47.87)
CIE-LCHlch(33.54, 68.46, 315.63°)
OKLaboklab(44.87% 0.1099 -0.1356)
OKLCHoklch(44.87% 0.175 309)
XYZxyz(13.7480, 7.7880, 32.2250)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D9C #589C2D
analogous
#3A2D9C #712D9C #9C2D90
triadic
#712D9C #9C712D #2D9C71
tetradic
#712D9C #9C3A2D #589C2D #2D909C
square
#712D9C #9C3A2D #589C2D #2D909C
split-complementary
#712D9C #909C2D #2D9C3A
monochromatic
#2C123D #4F1F6D #712D9C #933FC8 #AD6ED5

Accessibility & contrast

On white

8.21
#712D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712D9C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D9C#FFFFFF#000000##FFFFFF
##712D9C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#6B4661
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #712d9c;
/* rgb */ color: rgb(113, 45, 156);
/* oklch */ color: oklch(44.9% 0.175 309.0);
Tailwind
colors: {
  custom: {
    50: '#9e6cba',
    500: '#712d9c',
    950: '#000000',
  },
}
SCSS
$custom: #712d9c;
$custom-light: #9e6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#712d9c",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 276.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.17455,
    "h": 309
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#712D9C
secondary
#89BC68
accent
#DF4983
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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