#712A8A#712A8A

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

Color values

HEX#712A8A
RGBrgb(113, 42, 138)
HSLhsl(284, 53%, 35%)
HSVhsv(284, 70%, 54%)
CMYKcmyk(18.1%, 69.6%, 0%, 45.9%)
CIE-LABlab(31.81, 46.30, -39.62)
CIE-LCHlch(31.81, 60.94, 319.45°)
OKLaboklab(43.24% 0.1151 -0.1113)
OKLCHoklch(43.24% 0.16 315.9)
XYZxyz(12.2247, 7.0021, 24.7474)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A8A #438A2A
analogous
#412A8A #712A8A #8A2A73
triadic
#712A8A #8A712A #2A8A71
tetradic
#712A8A #8A412A #438A2A #2A738A
square
#712A8A #8A412A #438A2A #2A738A
split-complementary
#712A8A #738A2A #2A8A41
monochromatic
#240D2C #4B1C5B #712A8A #9738B9 #B260CF

Accessibility & contrast

On white

8.75
#712A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712A8A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A8A#FFFFFF#000000##FFFFFF
##712A8A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#6F3D56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712a8a;
/* rgb */ color: rgb(113, 42, 138);
/* oklch */ color: oklch(43.2% 0.160 315.9);
Tailwind
colors: {
  custom: {
    50: '#9d6aad',
    500: '#712a8a',
    950: '#000000',
  },
}
SCSS
$custom: #712a8a;
$custom-light: #9d6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#712a8a",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 284.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.16013,
    "h": 315.9
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#712A8A
secondary
#73B45B
accent
#DD4B71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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