#731166#731166

#731166 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.159 H 334.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#731166
RGBrgb(115, 17, 102)
HSLhsl(308, 74%, 26%)
HSVhsv(308, 85%, 45%)
CMYKcmyk(0%, 85.2%, 11.3%, 54.9%)
CIE-LABlab(26.75, 49.14, -24.84)
CIE-LCHlch(26.75, 55.06, 333.19°)
OKLaboklab(38.97% 0.1433 -0.0681)
OKLCHoklch(38.97% 0.159 334.6)
XYZxyz(9.6691, 5.0059, 13.0248)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731166 #11731E
analogous
#4F1173 #731166 #731135
triadic
#731166 #667311 #116673
tetradic
#731166 #734F11 #11731E #113573
square
#731166 #734F11 #11731E #113573
split-complementary
#731166 #357311 #11734F
monochromatic
#1B0418 #3E0937 #731166 #A81995 #DE21C5

Accessibility & contrast

On white

10.49
#731166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#731166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731166
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731166#FFFFFF#000000##FFFFFF
##7311661.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#364464
Tritanopia (blue-blind)
#791C3C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731166;
/* rgb */ color: rgb(115, 17, 102);
/* oklch */ color: oklch(39.0% 0.159 334.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e92',
    500: '#731166',
    950: '#000000',
  },
}
SCSS
$custom: #731166;
$custom-light: #9f5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#731166",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 307.959,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.15861,
    "h": 334.6
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#731166
secondary
#36AA45
accent
#F15037
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731166

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

Preview Lab → · Contrast checker → · Palette generator →

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