#731170#731170

#731170 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.166 H 329.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#731170
RGBrgb(115, 17, 112)
HSLhsl(302, 74%, 26%)
HSVhsv(302, 85%, 45%)
CMYKcmyk(0%, 85.2%, 2.6%, 54.9%)
CIE-LABlab(27.34, 50.75, -30.36)
CIE-LCHlch(27.34, 59.14, 329.11°)
OKLaboklab(39.58% 0.1433 -0.0841)
OKLCHoklch(39.58% 0.166 329.6)
XYZxyz(10.1953, 5.2164, 15.7960)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731170 #117314
analogous
#451173 #731170 #73113F
triadic
#731170 #707311 #117073
tetradic
#731170 #734511 #117314 #113F73
square
#731170 #734511 #117314 #113F73
split-complementary
#731170 #3F7311 #117345
monochromatic
#1B041A #3E093C #731170 #A819A4 #DE21D8

Accessibility & contrast

On white

10.28
#731170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731170
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731170#FFFFFF#000000##FFFFFF
##7311701.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#772242
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731170;
/* rgb */ color: rgb(115, 17, 112);
/* oklch */ color: oklch(39.6% 0.166 329.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e99',
    500: '#731170',
    950: '#000000',
  },
}
SCSS
$custom: #731170;
$custom-light: #9f5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#731170",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 112
  },
  "hsl": {
    "h": 301.837,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.16611,
    "h": 329.6
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#731170
secondary
#36AA39
accent
#F13D37
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731170

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

Preview Lab → · Contrast checker → · Palette generator →

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