#731275#731275

#731275 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.169 H 327.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#731275
RGBrgb(115, 18, 117)
HSLhsl(299, 73%, 26%)
HSVhsv(299, 85%, 46%)
CMYKcmyk(1.7%, 84.6%, 0%, 54.1%)
CIE-LABlab(27.74, 51.34, -32.92)
CIE-LCHlch(27.74, 60.99, 327.33°)
OKLaboklab(39.97% 0.1423 -0.0915)
OKLCHoklch(39.97% 0.169 327.2)
XYZxyz(10.4973, 5.3626, 17.3084)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731275 #147512
analogous
#421275 #731275 #751246
triadic
#731275 #757312 #127573
tetradic
#731275 #754212 #147512 #124675
square
#731275 #754212 #147512 #124675
split-complementary
#731275 #467512 #127542
monochromatic
#1A041B #3F0A40 #731275 #A71AAA #DA24DD

Accessibility & contrast

On white

10.13
#731275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#731275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731275
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731275#FFFFFF#000000##FFFFFF
##7312751.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#2E4673
Tritanopia (blue-blind)
#772545
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731275;
/* rgb */ color: rgb(115, 18, 117);
/* oklch */ color: oklch(40.0% 0.169 327.2);
Tailwind
colors: {
  custom: {
    50: '#9f5f9d',
    500: '#731275',
    950: '#000000',
  },
}
SCSS
$custom: #731275;
$custom-light: #9f5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#731275",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 298.788,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.16919,
    "h": 327.2
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#731275
secondary
#3AAC37
accent
#F0383C
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731275

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

Preview Lab → · Contrast checker → · Palette generator →

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