#731173#731173

#731173 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.168 H 328.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#731173
RGBrgb(115, 17, 115)
HSLhsl(300, 74%, 26%)
HSVhsv(300, 85%, 45%)
CMYKcmyk(0%, 85.2%, 0%, 54.9%)
CIE-LABlab(27.53, 51.25, -31.99)
CIE-LCHlch(27.53, 60.41, 328.03°)
OKLaboklab(39.78% 0.1431 -0.0888)
OKLCHoklch(39.78% 0.168 328.2)
XYZxyz(10.3651, 5.2843, 16.6904)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731173 #117311
analogous
#421173 #731173 #731142
triadic
#731173 #737311 #117373
tetradic
#731173 #734211 #117311 #114273
square
#731173 #734211 #117311 #114273
split-complementary
#731173 #427311 #117342
monochromatic
#1B041B #3E093E #731173 #A819A8 #DE21DE

Accessibility & contrast

On white

10.21
#731173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731173
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731173#FFFFFF#000000##FFFFFF
##7311731.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#772343
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731173;
/* rgb */ color: rgb(115, 17, 115);
/* oklch */ color: oklch(39.8% 0.168 328.2);
Tailwind
colors: {
  custom: {
    50: '#9f5e9c',
    500: '#731173',
    950: '#000000',
  },
}
SCSS
$custom: #731173;
$custom-light: #9f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731173",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.16843,
    "h": 328.2
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#731173
secondary
#36AA36
accent
#F13737
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731173

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

Preview Lab → · Contrast checker → · Palette generator →

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