#731772#731772

#731772 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.162 H 328.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#731772
RGBrgb(115, 23, 114)
HSLhsl(301, 67%, 27%)
HSVhsv(301, 80%, 45%)
CMYKcmyk(0%, 80%, 0.9%, 54.9%)
CIE-LABlab(28.04, 49.42, -30.53)
CIE-LCHlch(28.04, 58.09, 328.29°)
OKLaboklab(40.12% 0.1384 -0.0846)
OKLCHoklch(40.12% 0.162 328.6)
XYZxyz(10.4138, 5.4733, 16.4243)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731772 #177318
analogous
#461773 #731772 #731744
triadic
#731772 #727317 #177273
tetradic
#731772 #734617 #177318 #174473
square
#731772 #734617 #177318 #174473
split-complementary
#731772 #447317 #177346
monochromatic
#1A0519 #400D3F #731772 #A621A5 #D52FD4

Accessibility & contrast

On white

10.03
#731772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731772
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731772#FFFFFF#000000##FFFFFF
##7317721.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B74
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#772644
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731772;
/* rgb */ color: rgb(115, 23, 114);
/* oklch */ color: oklch(40.1% 0.162 328.6);
Tailwind
colors: {
  custom: {
    50: '#9f609b',
    500: '#731772',
    950: '#000000',
  },
}
SCSS
$custom: #731772;
$custom-light: #9f609b;
$custom-dark: #000000;
JSON
{
  "hex": "#731772",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 300.652,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40121,
    "c": 0.16224,
    "h": 328.6
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#731772
secondary
#3DA93E
accent
#EA403E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731772

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

Preview Lab → · Contrast checker → · Palette generator →

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