#712D78#712D78

#712D78 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.138 H 323.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#712D78
RGBrgb(113, 45, 120)
HSLhsl(294, 45%, 32%)
HSVhsv(294, 63%, 47%)
CMYKcmyk(5.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(31.22, 41.16, -29.33)
CIE-LCHlch(31.22, 50.54, 324.53°)
OKLaboklab(42.45% 0.1113 -0.0813)
OKLCHoklch(42.45% 0.138 323.9)
XYZxyz(11.1383, 6.7442, 18.4807)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D78 #34782D
analogous
#4C2D78 #712D78 #782D5A
triadic
#712D78 #78712D #2D7871
tetradic
#712D78 #784C2D #34782D #2D5A78
square
#712D78 #784C2D #34782D #2D5A78
split-complementary
#712D78 #5A782D #2D784C
monochromatic
#1D0C1F #471C4B #712D78 #9B3EA5 #B95DC2

Accessibility & contrast

On white

8.94
#712D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D78
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D78#FFFFFF#000000##FFFFFF
##712D781.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#394C76
Tritanopia (blue-blind)
#73384E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712d78;
/* rgb */ color: rgb(113, 45, 120);
/* oklch */ color: oklch(42.5% 0.138 323.9);
Tailwind
colors: {
  custom: {
    50: '#9c6b9f',
    500: '#712d78',
    950: '#000000',
  },
}
SCSS
$custom: #712d78;
$custom-light: #9c6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#712d78",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 294.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.13788,
    "h": 323.9
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#712D78
secondary
#60A958
accent
#D5535F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712D78

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

Preview Lab → · Contrast checker → · Palette generator →

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