#731072#731072

#731072 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.168 H 328.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#731072
RGBrgb(115, 16, 114)
HSLhsl(301, 76%, 26%)
HSVhsv(301, 86%, 45%)
CMYKcmyk(0%, 86.1%, 0.9%, 54.9%)
CIE-LABlab(27.38, 51.33, -31.58)
CIE-LCHlch(27.38, 60.26, 328.40°)
OKLaboklab(39.65% 0.1439 -0.0876)
OKLCHoklch(39.65% 0.168 328.7)
XYZxyz(10.2927, 5.2311, 16.3839)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731072 #107311
analogous
#421073 #731072 #731040
triadic
#731072 #727310 #107273
tetradic
#731072 #734210 #107311 #104073
square
#731072 #734210 #107311 #104073
split-complementary
#731072 #407310 #107342
monochromatic
#1B041B #3D093D #731072 #A917A7 #DE1FDD

Accessibility & contrast

On white

10.26
#731072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#731072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731072
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731072#FFFFFF#000000##FFFFFF
##7310721.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#772243
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731072;
/* rgb */ color: rgb(115, 16, 114);
/* oklch */ color: oklch(39.7% 0.168 328.7);
Tailwind
colors: {
  custom: {
    50: '#9f5e9b',
    500: '#731072',
    950: '#000000',
  },
}
SCSS
$custom: #731072;
$custom-light: #9f5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#731072",
  "rgb": {
    "r": 115,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 300.606,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.16844,
    "h": 328.7
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#731072
secondary
#34AA36
accent
#F23836
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731072

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

Preview Lab → · Contrast checker → · Palette generator →

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