#712B7D#712B7D

#712B7D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 321.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#712B7D
RGBrgb(113, 43, 125)
HSLhsl(291, 49%, 33%)
HSVhsv(291, 66%, 49%)
CMYKcmyk(9.6%, 65.6%, 0%, 51%)
CIE-LABlab(31.16, 43.13, -32.56)
CIE-LCHlch(31.16, 54.04, 322.95°)
OKLaboklab(42.51% 0.1142 -0.0907)
OKLCHoklch(42.51% 0.146 321.5)
XYZxyz(11.3752, 6.7197, 20.0959)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B7D #377D2B
analogous
#482B7D #712B7D #7D2B60
triadic
#712B7D #7D712B #2B7D71
tetradic
#712B7D #7D482B #377D2B #2B607D
square
#712B7D #7D482B #377D2B #2B607D
split-complementary
#712B7D #607D2B #2B7D48
monochromatic
#1F0C22 #481B4F #712B7D #9A3BAB #B75CC7

Accessibility & contrast

On white

8.96
#712B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B7D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B7D#FFFFFF#000000##FFFFFF
##712B7D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#723850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712b7d;
/* rgb */ color: rgb(113, 43, 125);
/* oklch */ color: oklch(42.5% 0.146 321.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aa3',
    500: '#712b7d',
    950: '#000000',
  },
}
SCSS
$custom: #712b7d;
$custom-light: #9c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#712b7d",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 291.22,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.14582,
    "h": 321.5
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#712B7D
secondary
#64AD57
accent
#D84F63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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