#712F88#712F88

#712F88 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.151 H 316.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#712F88
RGBrgb(113, 47, 136)
HSLhsl(284, 49%, 36%)
HSVhsv(284, 65%, 53%)
CMYKcmyk(16.9%, 65.4%, 0%, 46.7%)
CIE-LABlab(32.53, 43.52, -37.23)
CIE-LCHlch(32.53, 57.28, 319.45°)
OKLaboklab(43.71% 0.1091 -0.1044)
OKLCHoklch(43.71% 0.151 316.3)
XYZxyz(12.2698, 7.3218, 24.0547)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F88 #46882F
analogous
#442F88 #712F88 #882F72
triadic
#712F88 #88712F #2F8871
tetradic
#712F88 #88442F #46882F #2F7288
square
#712F88 #88442F #46882F #2F7288
split-complementary
#712F88 #72882F #2F8844
monochromatic
#25102D #4B1F5B #712F88 #973FB5 #B167CA

Accessibility & contrast

On white

8.52
#712F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#712F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F88
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F88#FFFFFF#000000##FFFFFF
##712F881.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#304E86
Tritanopia (blue-blind)
#703F57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712f88;
/* rgb */ color: rgb(113, 47, 136);
/* oklch */ color: oklch(43.7% 0.151 316.3);
Tailwind
colors: {
  custom: {
    50: '#9d6cab',
    500: '#712f88',
    950: '#000000',
  },
}
SCSS
$custom: #712f88;
$custom-light: #9d6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#712f88",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 284.494,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.151,
    "h": 316.3
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#712F88
secondary
#76B161
accent
#D85073
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F88

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

Preview Lab → · Contrast checker → · Palette generator →

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