#712386#712386

#712386 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.165 H 318.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#712386
RGBrgb(113, 35, 134)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 53%)
CMYKcmyk(15.7%, 73.9%, 0%, 47.5%)
CIE-LABlab(30.48, 48.46, -39.27)
CIE-LCHlch(30.48, 62.37, 320.98°)
OKLaboklab(42.21% 0.1232 -0.1103)
OKLCHoklch(42.21% 0.165 318.2)
XYZxyz(11.7136, 6.4345, 23.1746)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712386 #388623
analogous
#3F2386 #712386 #862369
triadic
#712386 #867123 #238671
tetradic
#712386 #863F23 #388623 #236986
square
#712386 #863F23 #388623 #236986
split-complementary
#712386 #698623 #23863F
monochromatic
#1F0A25 #481655 #712386 #9A30B7 #B752D2

Accessibility & contrast

On white

9.18
#712386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#712386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712386
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712386#FFFFFF#000000##FFFFFF
##7123861.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#284A84
Tritanopia (blue-blind)
#703752
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712386;
/* rgb */ color: rgb(113, 35, 134);
/* oklch */ color: oklch(42.2% 0.165 318.2);
Tailwind
colors: {
  custom: {
    50: '#9d66aa',
    500: '#712386',
    950: '#000000',
  },
}
SCSS
$custom: #712386;
$custom-light: #9d66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712386",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 287.273,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.1653,
    "h": 318.2
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#712386
secondary
#65B54F
accent
#E24667
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712386

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

Preview Lab → · Contrast checker → · Palette generator →

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