#712B88#712B88

#712B88 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.157 H 316.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#712B88
RGBrgb(113, 43, 136)
HSLhsl(285, 52%, 35%)
HSVhsv(285, 68%, 53%)
CMYKcmyk(16.9%, 68.4%, 0%, 46.7%)
CIE-LABlab(31.84, 45.42, -38.33)
CIE-LCHlch(31.84, 59.43, 319.84°)
OKLaboklab(43.22% 0.114 -0.1076)
OKLCHoklch(43.22% 0.157 316.7)
XYZxyz(12.1172, 7.0165, 24.0038)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B88 #42882B
analogous
#422B88 #712B88 #882B71
triadic
#712B88 #88712B #2B8871
tetradic
#712B88 #88422B #42882B #2B7188
square
#712B88 #88422B #42882B #2B7188
split-complementary
#712B88 #71882B #2B8842
monochromatic
#240E2B #4A1C5A #712B88 #983AB6 #B261CD

Accessibility & contrast

On white

8.74
#712B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B88
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B88#FFFFFF#000000##FFFFFF
##712B881.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#703C56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712b88;
/* rgb */ color: rgb(113, 43, 136);
/* oklch */ color: oklch(43.2% 0.157 316.7);
Tailwind
colors: {
  custom: {
    50: '#9d6aab',
    500: '#712b88',
    950: '#000000',
  },
}
SCSS
$custom: #712b88;
$custom-light: #9d6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#712b88",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 285.161,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.15675,
    "h": 316.7
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#712B88
secondary
#71B35C
accent
#DB4C70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B88

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

Preview Lab → · Contrast checker → · Palette generator →

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