#731165#731165

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

Color values

HEX#731165
RGBrgb(115, 17, 101)
HSLhsl(309, 74%, 26%)
HSVhsv(309, 85%, 45%)
CMYKcmyk(0%, 85.2%, 12.2%, 54.9%)
CIE-LABlab(26.70, 48.98, -24.27)
CIE-LCHlch(26.70, 54.66, 333.64°)
OKLaboklab(38.91% 0.1432 -0.0664)
OKLCHoklch(38.91% 0.158 335.1)
XYZxyz(9.6198, 4.9862, 12.7652)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731165 #11731F
analogous
#501173 #731165 #731134
triadic
#731165 #657311 #116573
tetradic
#731165 #735011 #11731F #113473
square
#731165 #735011 #11731F #113473
split-complementary
#731165 #347311 #117350
monochromatic
#1B0417 #3E0936 #731165 #A81994 #DE21C3

Accessibility & contrast

On white

10.52
#731165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731165
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731165#FFFFFF#000000##FFFFFF
##7311651.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103667
Deuteranopia (green-blind)
#374463
Tritanopia (blue-blind)
#791B3B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731165;
/* rgb */ color: rgb(115, 17, 101);
/* oklch */ color: oklch(38.9% 0.158 335.1);
Tailwind
colors: {
  custom: {
    50: '#9f5e91',
    500: '#731165',
    950: '#000000',
  },
}
SCSS
$custom: #731165;
$custom-light: #9f5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#731165",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 308.571,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.15788,
    "h": 335.1
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#731165
secondary
#36AA46
accent
#F15137
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050D
muted
#7F797D

Preview Lab

Preview with #731165

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

Preview Lab → · Contrast checker → · Palette generator →

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