#712B7E#712B7E

#712B7E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 321.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#712B7E
RGBrgb(113, 43, 126)
HSLhsl(291, 49%, 33%)
HSVhsv(291, 66%, 49%)
CMYKcmyk(10.3%, 65.9%, 0%, 50.6%)
CIE-LABlab(31.22, 43.33, -33.09)
CIE-LCHlch(31.22, 54.52, 322.63°)
OKLaboklab(42.57% 0.1142 -0.0923)
OKLCHoklch(42.57% 0.147 321.1)
XYZxyz(11.4394, 6.7454, 20.4341)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B7E #387E2B
analogous
#472B7E #712B7E #7E2B61
triadic
#712B7E #7E712B #2B7E71
tetradic
#712B7E #7E472B #387E2B #2B617E
square
#712B7E #7E472B #387E2B #2B617E
split-complementary
#712B7E #617E2B #2B7E47
monochromatic
#1F0C23 #481B50 #712B7E #9A3BAC #B75CC7

Accessibility & contrast

On white

8.94
#712B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B7E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B7E#FFFFFF#000000##FFFFFF
##712B7E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#723950
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712b7e;
/* rgb */ color: rgb(113, 43, 126);
/* oklch */ color: oklch(42.6% 0.147 321.1);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#712b7e',
    950: '#000000',
  },
}
SCSS
$custom: #712b7e;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#712b7e",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 290.602,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.14681,
    "h": 321.1
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#712B7E
secondary
#65AD58
accent
#D94F65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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