#712387#712387

#712387 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.166 H 317.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#712387
RGBrgb(113, 35, 135)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 53%)
CMYKcmyk(16.3%, 74.1%, 0%, 47.1%)
CIE-LABlab(30.55, 48.67, -39.78)
CIE-LCHlch(30.55, 62.86, 320.74°)
OKLaboklab(42.27% 0.1231 -0.1118)
OKLCHoklch(42.27% 0.166 317.8)
XYZxyz(11.7836, 6.4626, 23.5437)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712387 #398723
analogous
#3F2387 #712387 #87236B
triadic
#712387 #877123 #238771
tetradic
#712387 #873F23 #398723 #236B87
square
#712387 #873F23 #398723 #236B87
split-complementary
#712387 #6B8723 #23873F
monochromatic
#200A26 #481656 #712387 #9A30B8 #B652D2

Accessibility & contrast

On white

9.16
#712387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712387
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712387#FFFFFF#000000##FFFFFF
##7123871.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#274A85
Tritanopia (blue-blind)
#703753
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712387;
/* rgb */ color: rgb(113, 35, 135);
/* oklch */ color: oklch(42.3% 0.166 317.8);
Tailwind
colors: {
  custom: {
    50: '#9d66aa',
    500: '#712387',
    950: '#000000',
  },
}
SCSS
$custom: #712387;
$custom-light: #9d66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712387",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 286.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.16623,
    "h": 317.8
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#712387
secondary
#66B650
accent
#E24668
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712387

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

Preview Lab → · Contrast checker → · Palette generator →

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