#731168#731168

#731168 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.160 H 333.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#731168
RGBrgb(115, 17, 104)
HSLhsl(307, 74%, 26%)
HSVhsv(307, 85%, 45%)
CMYKcmyk(0%, 85.2%, 9.6%, 54.9%)
CIE-LABlab(26.87, 49.45, -25.95)
CIE-LCHlch(26.87, 55.85, 332.31°)
OKLaboklab(39.09% 0.1433 -0.0713)
OKLCHoklch(39.09% 0.16 333.6)
XYZxyz(9.7695, 5.0461, 13.5535)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731168 #11731C
analogous
#4D1173 #731168 #731137
triadic
#731168 #687311 #116873
tetradic
#731168 #734D11 #11731C #113773
square
#731168 #734D11 #11731C #113773
split-complementary
#731168 #377311 #11734D
monochromatic
#1B0418 #3E0938 #731168 #A81998 #DE21C8

Accessibility & contrast

On white

10.45
#731168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#731168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731168
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731168#FFFFFF#000000##FFFFFF
##7311681.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#354466
Tritanopia (blue-blind)
#791D3D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731168;
/* rgb */ color: rgb(115, 17, 104);
/* oklch */ color: oklch(39.1% 0.160 333.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e93',
    500: '#731168',
    950: '#000000',
  },
}
SCSS
$custom: #731168;
$custom-light: #9f5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#731168",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 306.735,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.16008,
    "h": 333.6
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#731168
secondary
#36AA43
accent
#F14C37
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731168

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

Preview Lab → · Contrast checker → · Palette generator →

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