#713171#713171

#713171 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.6% C 0.125 H 327.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#713171
RGBrgb(113, 49, 113)
HSLhsl(300, 40%, 32%)
HSVhsv(300, 57%, 44%)
CMYKcmyk(0%, 56.6%, 0%, 55.7%)
CIE-LABlab(31.58, 37.76, -24.33)
CIE-LCHlch(31.58, 44.92, 327.20°)
OKLaboklab(42.6% 0.105 -0.0669)
OKLCHoklch(42.6% 0.125 327.5)
XYZxyz(10.8888, 6.9002, 16.3779)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#713171 #317131
analogous
#513171 #713171 #713151
triadic
#713171 #717131 #317171
tetradic
#713171 #715131 #317131 #315171
square
#713171 #715131 #317131 #315171
split-complementary
#713171 #517131 #317151
monochromatic
#1C0C1C #461E46 #713171 #9C449C #BB62BB

Accessibility & contrast

On white

8.82
#713171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#713171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #713171
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##713171#FFFFFF#000000##FFFFFF
##7131711.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#74384C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #713171;
/* rgb */ color: rgb(113, 49, 113);
/* oklch */ color: oklch(42.6% 0.125 327.5);
Tailwind
colors: {
  custom: {
    50: '#9c6d9a',
    500: '#713171',
    950: '#000000',
  },
}
SCSS
$custom: #713171;
$custom-light: #9c6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#713171",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.12454,
    "h": 327.5
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#713171
secondary
#5CA25C
accent
#CF5858
background
#F9F6F9
surface
#F2ECF2
border
#CCC7CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #713171

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

Preview Lab → · Contrast checker → · Palette generator →

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