#731164#731164

#731164 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.157 H 335.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#731164
RGBrgb(115, 17, 100)
HSLhsl(309, 74%, 26%)
HSVhsv(309, 85%, 45%)
CMYKcmyk(0%, 85.2%, 13%, 54.9%)
CIE-LABlab(26.64, 48.83, -23.71)
CIE-LCHlch(26.64, 54.28, 334.10°)
OKLaboklab(38.86% 0.1432 -0.0648)
OKLCHoklch(38.86% 0.157 335.6)
XYZxyz(9.5711, 4.9667, 12.5087)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731164 #117320
analogous
#511173 #731164 #731133
triadic
#731164 #647311 #116473
tetradic
#731164 #735111 #117320 #113373
square
#731164 #735111 #117320 #113373
split-complementary
#731164 #337311 #117351
monochromatic
#1B0417 #3E0936 #731164 #A81992 #DE21C1

Accessibility & contrast

On white

10.54
#731164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#731164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731164
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731164#FFFFFF#000000##FFFFFF
##7311641.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123666
Deuteranopia (green-blind)
#374462
Tritanopia (blue-blind)
#791A3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731164;
/* rgb */ color: rgb(115, 17, 100);
/* oklch */ color: oklch(38.9% 0.157 335.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e90',
    500: '#731164',
    950: '#000000',
  },
}
SCSS
$custom: #731164;
$custom-light: #9f5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#731164",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 309.184,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.15716,
    "h": 335.6
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#731164
secondary
#36AA48
accent
#F15337
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731164

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

Preview Lab → · Contrast checker → · Palette generator →

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