#712A78#712A78

#712A78 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.142 H 324.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#712A78
RGBrgb(113, 42, 120)
HSLhsl(295, 48%, 32%)
HSVhsv(295, 65%, 47%)
CMYKcmyk(5.8%, 65%, 0%, 52.9%)
CIE-LABlab(30.70, 42.59, -30.15)
CIE-LCHlch(30.70, 52.18, 324.71°)
OKLaboklab(42.08% 0.1153 -0.0837)
OKLCHoklch(42.08% 0.142 324)
XYZxyz(11.0279, 6.5233, 18.4439)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A78 #31782A
analogous
#4A2A78 #712A78 #782A58
triadic
#712A78 #78712A #2A7871
tetradic
#712A78 #784A2A #31782A #2A5878
square
#712A78 #784A2A #31782A #2A5878
split-complementary
#712A78 #58782A #2A784A
monochromatic
#1C0A1D #461A4B #712A78 #9C3AA5 #BB58C5

Accessibility & contrast

On white

9.11
#712A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#712A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A78
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A78#FFFFFF#000000##FFFFFF
##712A781.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#73364D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712a78;
/* rgb */ color: rgb(113, 42, 120);
/* oklch */ color: oklch(42.1% 0.142 324.0);
Tailwind
colors: {
  custom: {
    50: '#9c699f',
    500: '#712a78',
    950: '#000000',
  },
}
SCSS
$custom: #712a78;
$custom-light: #9c699f;
$custom-dark: #000000;
JSON
{
  "hex": "#712a78",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 294.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.14247,
    "h": 324
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#712A78
secondary
#5CAA54
accent
#D8505C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712A78

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

Preview Lab → · Contrast checker → · Palette generator →

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