#712F78#712F78

#712F78 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.135 H 323.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#712F78
RGBrgb(113, 47, 120)
HSLhsl(294, 44%, 33%)
HSVhsv(294, 61%, 47%)
CMYKcmyk(5.8%, 60.8%, 0%, 52.9%)
CIE-LABlab(31.58, 40.17, -28.75)
CIE-LCHlch(31.58, 49.40, 324.40°)
OKLaboklab(42.72% 0.1086 -0.0797)
OKLCHoklch(42.72% 0.135 323.7)
XYZxyz(11.2164, 6.9004, 18.5068)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F78 #36782F
analogous
#4D2F78 #712F78 #782F5A
triadic
#712F78 #78712F #2F7871
tetradic
#712F78 #784D2F #36782F #2F5A78
square
#712F78 #784D2F #36782F #2F5A78
split-complementary
#712F78 #5A782F #2F784D
monochromatic
#1E0D20 #481E4C #712F78 #9A40A4 #B860C1

Accessibility & contrast

On white

8.82
#712F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#712F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F78
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F78#FFFFFF#000000##FFFFFF
##712F781.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#73394F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712f78;
/* rgb */ color: rgb(113, 47, 120);
/* oklch */ color: oklch(42.7% 0.135 323.7);
Tailwind
colors: {
  custom: {
    50: '#9c6c9f',
    500: '#712f78',
    950: '#000000',
  },
}
SCSS
$custom: #712f78;
$custom-light: #9c6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#712f78",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 294.247,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.13472,
    "h": 323.7
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#712F78
secondary
#62A85B
accent
#D35461
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712F78

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

Preview Lab → · Contrast checker → · Palette generator →

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