#731270#731270

#731270 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.165 H 329.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#731270
RGBrgb(115, 18, 112)
HSLhsl(302, 73%, 26%)
HSVhsv(302, 84%, 45%)
CMYKcmyk(0%, 84.3%, 2.6%, 54.9%)
CIE-LABlab(27.43, 50.49, -30.22)
CIE-LCHlch(27.43, 58.85, 329.10°)
OKLaboklab(39.65% 0.1425 -0.0837)
OKLCHoklch(39.65% 0.165 329.6)
XYZxyz(10.2111, 5.2481, 15.8013)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731270 #127315
analogous
#451273 #731270 #73123F
triadic
#731270 #707312 #127073
tetradic
#731270 #734512 #127315 #123F73
square
#731270 #734512 #127315 #123F73
split-complementary
#731270 #3F7312 #127345
monochromatic
#1A041A #3E0A3C #731270 #A81AA4 #DD23D7

Accessibility & contrast

On white

10.25
#731270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731270
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731270#FFFFFF#000000##FFFFFF
##7312701.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#772242
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731270;
/* rgb */ color: rgb(115, 18, 112);
/* oklch */ color: oklch(39.6% 0.165 329.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f99',
    500: '#731270',
    950: '#000000',
  },
}
SCSS
$custom: #731270;
$custom-light: #9f5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#731270",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 301.856,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.16528,
    "h": 329.6
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#731270
secondary
#37AA3B
accent
#F03E38
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731270

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

Preview Lab → · Contrast checker → · Palette generator →

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