#712A88#712A88

#712A88 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.158 H 316.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#712A88
RGBrgb(113, 42, 136)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 69%, 53%)
CMYKcmyk(16.9%, 69.1%, 0%, 46.7%)
CIE-LABlab(31.68, 45.88, -38.59)
CIE-LCHlch(31.68, 59.95, 319.93°)
OKLaboklab(43.1% 0.1152 -0.1083)
OKLCHoklch(43.1% 0.158 316.8)
XYZxyz(12.0813, 6.9447, 23.9918)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A88 #41882A
analogous
#422A88 #712A88 #882A70
triadic
#712A88 #88712A #2A8871
tetradic
#712A88 #88422A #41882A #2A7088
square
#712A88 #88422A #41882A #2A7088
split-complementary
#712A88 #70882A #2A8842
monochromatic
#230D2A #4A1C59 #712A88 #9838B7 #B25FCE

Accessibility & contrast

On white

8.79
#712A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A88
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A88#FFFFFF#000000##FFFFFF
##712A881.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#703C55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712a88;
/* rgb */ color: rgb(113, 42, 136);
/* oklch */ color: oklch(43.1% 0.158 316.8);
Tailwind
colors: {
  custom: {
    50: '#9d69ab',
    500: '#712a88',
    950: '#000000',
  },
}
SCSS
$custom: #712a88;
$custom-light: #9d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#712a88",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 285.319,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.15814,
    "h": 316.8
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#712A88
secondary
#70B35B
accent
#DC4C6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A88

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

Preview Lab → · Contrast checker → · Palette generator →

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