#712D7E#712D7E

#712D7E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.144 H 320.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#712D7E
RGBrgb(113, 45, 126)
HSLhsl(290, 47%, 34%)
HSVhsv(290, 64%, 49%)
CMYKcmyk(10.3%, 64.3%, 0%, 50.6%)
CIE-LABlab(31.57, 42.38, -32.54)
CIE-LCHlch(31.57, 53.43, 322.48°)
OKLaboklab(42.82% 0.1116 -0.0907)
OKLCHoklch(42.82% 0.144 320.9)
XYZxyz(11.5139, 6.8944, 20.4589)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D7E #3A7E2D
analogous
#482D7E #712D7E #7E2D62
triadic
#712D7E #7E712D #2D7E71
tetradic
#712D7E #7E482D #3A7E2D #2D627E
square
#712D7E #7E482D #3A7E2D #2D627E
split-complementary
#712D7E #627E2D #2D7E48
monochromatic
#200D24 #491D51 #712D7E #993DAB #B65FC6

Accessibility & contrast

On white

8.83
#712D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712D7E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D7E#FFFFFF#000000##FFFFFF
##712D7E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#723A51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712d7e;
/* rgb */ color: rgb(113, 45, 126);
/* oklch */ color: oklch(42.8% 0.144 320.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ba4',
    500: '#712d7e',
    950: '#000000',
  },
}
SCSS
$custom: #712d7e;
$custom-light: #9c6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#712d7e",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 290.37,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.14381,
    "h": 320.9
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#712D7E
secondary
#68AC5A
accent
#D75166
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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