#712C78#712C78

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

Color values

HEX#712C78
RGBrgb(113, 44, 120)
HSLhsl(294, 46%, 32%)
HSVhsv(294, 63%, 47%)
CMYKcmyk(5.8%, 63.3%, 0%, 52.9%)
CIE-LABlab(31.04, 41.64, -29.60)
CIE-LCHlch(31.04, 51.09, 324.59°)
OKLaboklab(42.33% 0.1127 -0.0821)
OKLCHoklch(42.33% 0.139 323.9)
XYZxyz(11.1006, 6.6688, 18.4682)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C78 #33782C
analogous
#4B2C78 #712C78 #782C59
triadic
#712C78 #78712C #2C7871
tetradic
#712C78 #784B2C #33782C #2C5978
square
#712C78 #784B2C #33782C #2C5978
split-complementary
#712C78 #59782C #2C784B
monochromatic
#1D0B1E #471C4B #712C78 #9B3CA5 #B95BC3

Accessibility & contrast

On white

9.00
#712C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#712C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C78
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C78#FFFFFF#000000##FFFFFF
##712C781.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#73374E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712c78;
/* rgb */ color: rgb(113, 44, 120);
/* oklch */ color: oklch(42.3% 0.139 323.9);
Tailwind
colors: {
  custom: {
    50: '#9c6a9f',
    500: '#712c78',
    950: '#000000',
  },
}
SCSS
$custom: #712c78;
$custom-light: #9c6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#712c78",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 294.474,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.13944,
    "h": 323.9
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#712C78
secondary
#5EA957
accent
#D6525E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712C78

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

Preview Lab → · Contrast checker → · Palette generator →

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