#712B8A#712B8A

#712B8A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.159 H 315.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#712B8A
RGBrgb(113, 43, 138)
HSLhsl(284, 52%, 35%)
HSVhsv(284, 69%, 54%)
CMYKcmyk(18.1%, 68.8%, 0%, 45.9%)
CIE-LABlab(31.97, 45.85, -39.36)
CIE-LCHlch(31.97, 60.43, 319.36°)
OKLaboklab(43.36% 0.1139 -0.1106)
OKLCHoklch(43.36% 0.159 315.9)
XYZxyz(12.2607, 7.0739, 24.7594)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B8A #448A2B
analogous
#422B8A #712B8A #8A2B73
triadic
#712B8A #8A712B #2B8A71
tetradic
#712B8A #8A422B #448A2B #2B738A
square
#712B8A #8A422B #448A2B #2B738A
split-complementary
#712B8A #738A2B #2B8A42
monochromatic
#250E2D #4B1C5B #712B8A #973AB9 #B161CE

Accessibility & contrast

On white

8.70
#712B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#712B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B8A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B8A#FFFFFF#000000##FFFFFF
##712B8A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#6F3D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712b8a;
/* rgb */ color: rgb(113, 43, 138);
/* oklch */ color: oklch(43.4% 0.159 315.9);
Tailwind
colors: {
  custom: {
    50: '#9d6aad',
    500: '#712b8a',
    950: '#000000',
  },
}
SCSS
$custom: #712b8a;
$custom-light: #9d6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#712b8a",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 284.211,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.15876,
    "h": 315.9
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#712B8A
secondary
#74B45D
accent
#DC4C72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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