#712A74#712A74

#712A74 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 326.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#712A74
RGBrgb(113, 42, 116)
HSLhsl(298, 47%, 31%)
HSVhsv(298, 64%, 45%)
CMYKcmyk(2.6%, 63.8%, 0%, 54.5%)
CIE-LABlab(30.47, 41.81, -27.98)
CIE-LCHlch(30.47, 50.31, 326.21°)
OKLaboklab(41.84% 0.1151 -0.0774)
OKLCHoklch(41.84% 0.139 326.1)
XYZxyz(10.7902, 6.4282, 17.1920)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A74 #2D742A
analogous
#4C2A74 #712A74 #742A52
triadic
#712A74 #74712A #2A7471
tetradic
#712A74 #744C2A #2D742A #2A5274
square
#712A74 #744C2A #2D742A #2A5274
split-complementary
#712A74 #52742A #2A744C
monochromatic
#19091A #451A47 #712A74 #9D3AA1 #BE56C2

Accessibility & contrast

On white

9.19
#712A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#712A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A74
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A74#FFFFFF#000000##FFFFFF
##712A741.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#74344B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712a74;
/* rgb */ color: rgb(113, 42, 116);
/* oklch */ color: oklch(41.8% 0.139 326.1);
Tailwind
colors: {
  custom: {
    50: '#9c699c',
    500: '#712a74',
    950: '#000000',
  },
}
SCSS
$custom: #712a74;
$custom-light: #9c699c;
$custom-dark: #000000;
JSON
{
  "hex": "#712a74",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 297.568,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.13868,
    "h": 326.1
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#712A74
secondary
#57A654
accent
#D65157
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712A74

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

Preview Lab → · Contrast checker → · Palette generator →

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