#712B8D#712B8D

#712B8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.162 H 314.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#712B8D
RGBrgb(113, 43, 141)
HSLhsl(283, 53%, 36%)
HSVhsv(283, 70%, 55%)
CMYKcmyk(19.9%, 69.5%, 0%, 44.7%)
CIE-LABlab(32.17, 46.50, -40.89)
CIE-LCHlch(32.17, 61.92, 318.67°)
OKLaboklab(43.56% 0.1137 -0.1151)
OKLCHoklch(43.56% 0.162 314.7)
XYZxyz(12.4809, 7.1620, 25.9191)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B8D #478D2B
analogous
#402B8D #712B8D #8D2B78
triadic
#712B8D #8D712B #2B8D71
tetradic
#712B8D #8D402B #478D2B #2B788D
square
#712B8D #8D402B #478D2B #2B788D
split-complementary
#712B8D #788D2B #2B8D40
monochromatic
#260E2F #4B1D5E #712B8D #9739BC #B063CF

Accessibility & contrast

On white

8.63
#712B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B8D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B8D#FFFFFF#000000##FFFFFF
##712B8D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#6F3E58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712b8d;
/* rgb */ color: rgb(113, 43, 141);
/* oklch */ color: oklch(43.6% 0.162 314.7);
Tailwind
colors: {
  custom: {
    50: '#9d6aaf',
    500: '#712b8d',
    950: '#000000',
  },
}
SCSS
$custom: #712b8d;
$custom-light: #9d6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#712b8d",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 282.857,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43562,
    "c": 0.1618,
    "h": 314.7
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#712B8D
secondary
#77B65E
accent
#DD4B75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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