#731175#731175

#731175 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.170 H 327.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#731175
RGBrgb(115, 17, 117)
HSLhsl(299, 75%, 26%)
HSVhsv(299, 85%, 46%)
CMYKcmyk(1.7%, 85.5%, 0%, 54.1%)
CIE-LABlab(27.66, 51.59, -33.06)
CIE-LCHlch(27.66, 61.28, 327.35°)
OKLaboklab(39.91% 0.143 -0.0919)
OKLCHoklch(39.91% 0.17 327.3)
XYZxyz(10.4814, 5.3309, 17.3031)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731175 #137511
analogous
#411175 #731175 #751145
triadic
#731175 #757311 #117573
tetradic
#731175 #754111 #137511 #114575
square
#731175 #754111 #137511 #114575
split-complementary
#731175 #457511 #117541
monochromatic
#1A041B #3E0940 #731175 #A819AA #DB22DF

Accessibility & contrast

On white

10.16
#731175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731175
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731175#FFFFFF#000000##FFFFFF
##7311751.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731175;
/* rgb */ color: rgb(115, 17, 117);
/* oklch */ color: oklch(39.9% 0.170 327.3);
Tailwind
colors: {
  custom: {
    50: '#9f5e9d',
    500: '#731175',
    950: '#000000',
  },
}
SCSS
$custom: #731175;
$custom-light: #9f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#731175",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 298.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.16999,
    "h": 327.3
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#731175
secondary
#38AC36
accent
#F1373A
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731175

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

Preview Lab → · Contrast checker → · Palette generator →

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