#712684#712684

#712684 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.160 H 318.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#712684
RGBrgb(113, 38, 132)
HSLhsl(288, 55%, 33%)
HSVhsv(288, 71%, 52%)
CMYKcmyk(14.4%, 71.2%, 0%, 48.2%)
CIE-LABlab(30.79, 46.81, -37.53)
CIE-LCHlch(30.79, 59.99, 321.28°)
OKLaboklab(42.38% 0.12 -0.1052)
OKLCHoklch(42.38% 0.16 318.8)
XYZxyz(11.6675, 6.5634, 22.4776)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712684 #398426
analogous
#422684 #712684 #842668
triadic
#712684 #847126 #268471
tetradic
#712684 #844226 #398426 #266884
square
#712684 #844226 #398426 #266884
split-complementary
#712684 #688426 #268442
monochromatic
#200B25 #481854 #712684 #9A34B4 #B656CE

Accessibility & contrast

On white

9.08
#712684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#712684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712684
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712684#FFFFFF#000000##FFFFFF
##7126841.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#713852
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712684;
/* rgb */ color: rgb(113, 38, 132);
/* oklch */ color: oklch(42.4% 0.160 318.8);
Tailwind
colors: {
  custom: {
    50: '#9d67a8',
    500: '#712684',
    950: '#000000',
  },
}
SCSS
$custom: #712684;
$custom-light: #9d67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#712684",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 287.872,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.15959,
    "h": 318.8
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#712684
secondary
#66B353
accent
#DF4967
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712684

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

Preview Lab → · Contrast checker → · Palette generator →

#712684 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva