#712A9C#712A9C

#712A9C is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.178 H 309.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#712A9C
RGBrgb(113, 42, 156)
HSLhsl(277, 58%, 39%)
HSVhsv(277, 73%, 61%)
CMYKcmyk(27.6%, 73.1%, 0%, 38.8%)
CIE-LABlab(33.06, 50.27, -48.64)
CIE-LCHlch(33.06, 69.95, 315.95°)
OKLaboklab(44.53% 0.1131 -0.1378)
OKLCHoklch(44.53% 0.178 309.4)
XYZxyz(13.6376, 7.5672, 32.1882)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A9C #559C2A
analogous
#382A9C #712A9C #9C2A8E
triadic
#712A9C #9C712A #2A9C71
tetradic
#712A9C #9C382A #559C2A #2A8E9C
square
#712A9C #9C382A #559C2A #2A8E9C
split-complementary
#712A9C #8E9C2A #2A9C38
monochromatic
#2B103C #4E1D6C #712A9C #9339CA #AE6AD7

Accessibility & contrast

On white

8.36
#712A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#712A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A9C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A9C#FFFFFF#000000##FFFFFF
##712A9C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#0F4F9A
Tritanopia (blue-blind)
#6B4460
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #712a9c;
/* rgb */ color: rgb(113, 42, 156);
/* oklch */ color: oklch(44.5% 0.178 309.4);
Tailwind
colors: {
  custom: {
    50: '#9e6aba',
    500: '#712a9c',
    950: '#000000',
  },
}
SCSS
$custom: #712a9c;
$custom-light: #9e6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#712a9c",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 277.368,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.17827,
    "h": 309.4
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#712A9C
secondary
#86BD65
accent
#E14781
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #712A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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