#731273#731273

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

Color values

HEX#731273
RGBrgb(115, 18, 115)
HSLhsl(300, 73%, 26%)
HSVhsv(300, 84%, 45%)
CMYKcmyk(0%, 84.3%, 0%, 54.9%)
CIE-LABlab(27.62, 51.00, -31.85)
CIE-LCHlch(27.62, 60.13, 328.02°)
OKLaboklab(39.84% 0.1424 -0.0884)
OKLCHoklch(39.84% 0.168 328.2)
XYZxyz(10.3809, 5.3160, 16.6957)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731273 #127312
analogous
#421273 #731273 #731242
triadic
#731273 #737312 #127373
tetradic
#731273 #734212 #127312 #124273
square
#731273 #734212 #127312 #124273
split-complementary
#731273 #427312 #127342
monochromatic
#1A041A #3E0A3E #731273 #A81AA8 #DD23DD

Accessibility & contrast

On white

10.18
#731273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731273
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731273#FFFFFF#000000##FFFFFF
##7312731.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#304571
Tritanopia (blue-blind)
#772444
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731273;
/* rgb */ color: rgb(115, 18, 115);
/* oklch */ color: oklch(39.8% 0.168 328.2);
Tailwind
colors: {
  custom: {
    50: '#9f5f9c',
    500: '#731273',
    950: '#000000',
  },
}
SCSS
$custom: #731273;
$custom-light: #9f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731273",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.16762,
    "h": 328.2
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#731273
secondary
#37AA37
accent
#F03838
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731273

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

Preview Lab → · Contrast checker → · Palette generator →

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