#712A94#712A94

#712A94 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.170 H 312.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#712A94
RGBrgb(113, 42, 148)
HSLhsl(280, 56%, 37%)
HSVhsv(280, 72%, 58%)
CMYKcmyk(23.6%, 71.6%, 0%, 42%)
CIE-LABlab(32.49, 48.48, -44.68)
CIE-LCHlch(32.49, 65.93, 317.33°)
OKLaboklab(43.94% 0.1142 -0.1262)
OKLCHoklch(43.94% 0.17 312.1)
XYZxyz(12.9823, 7.3051, 28.7374)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A94 #4D942A
analogous
#3C2A94 #712A94 #942A82
triadic
#712A94 #94712A #2A9471
tetradic
#712A94 #943C2A #4D942A #2A8294
square
#712A94 #943C2A #4D942A #2A8294
split-complementary
#712A94 #82942A #2A943C
monochromatic
#280F35 #4D1C64 #712A94 #9538C4 #AF65D3

Accessibility & contrast

On white

8.53
#712A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712A94
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A94#FFFFFF#000000##FFFFFF
##712A941.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#6D415C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712a94;
/* rgb */ color: rgb(113, 42, 148);
/* oklch */ color: oklch(43.9% 0.170 312.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ab4',
    500: '#712a94',
    950: '#000000',
  },
}
SCSS
$custom: #712a94;
$custom-light: #9d6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#712a94",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 280.189,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43942,
    "c": 0.17018,
    "h": 312.1
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#712A94
secondary
#7EB960
accent
#DF497A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A94

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

Preview Lab → · Contrast checker → · Palette generator →

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