#731272#731272

#731272 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.167 H 328.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#731272
RGBrgb(115, 18, 114)
HSLhsl(301, 73%, 26%)
HSVhsv(301, 84%, 45%)
CMYKcmyk(0%, 84.3%, 0.9%, 54.9%)
CIE-LABlab(27.55, 50.83, -31.31)
CIE-LCHlch(27.55, 59.70, 328.37°)
OKLaboklab(39.77% 0.1425 -0.0868)
OKLCHoklch(39.77% 0.167 328.6)
XYZxyz(10.3237, 5.2932, 16.3943)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731272 #127313
analogous
#431273 #731272 #731241
triadic
#731272 #727312 #127273
tetradic
#731272 #734312 #127313 #124173
square
#731272 #734312 #127313 #124173
split-complementary
#731272 #417312 #127343
monochromatic
#1A041A #3E0A3E #731272 #A81AA6 #DD23DB

Accessibility & contrast

On white

10.20
#731272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731272
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731272#FFFFFF#000000##FFFFFF
##7312721.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731272;
/* rgb */ color: rgb(115, 18, 114);
/* oklch */ color: oklch(39.8% 0.167 328.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f9b',
    500: '#731272',
    950: '#000000',
  },
}
SCSS
$custom: #731272;
$custom-light: #9f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#731272",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 300.619,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.16683,
    "h": 328.6
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#731272
secondary
#37AA38
accent
#F03A38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731272

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

Preview Lab → · Contrast checker → · Palette generator →

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