#731174#731174

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

Color values

HEX#731174
RGBrgb(115, 17, 116)
HSLhsl(299, 74%, 26%)
HSVhsv(299, 85%, 45%)
CMYKcmyk(0.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(27.59, 51.42, -32.52)
CIE-LCHlch(27.59, 60.84, 327.69°)
OKLaboklab(39.84% 0.1431 -0.0904)
OKLCHoklch(39.84% 0.169 327.7)
XYZxyz(10.4229, 5.3075, 16.9951)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731174 #127411
analogous
#411174 #731174 #741143
triadic
#731174 #747311 #117473
tetradic
#731174 #744111 #127411 #114374
square
#731174 #744111 #127411 #114374
split-complementary
#731174 #437411 #117441
monochromatic
#1A041B #3E093F #731174 #A819A9 #DD21DE

Accessibility & contrast

On white

10.19
#731174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731174
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731174#FFFFFF#000000##FFFFFF
##7311741.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#2F4572
Tritanopia (blue-blind)
#772444
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731174;
/* rgb */ color: rgb(115, 17, 116);
/* oklch */ color: oklch(39.8% 0.169 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f5e9c',
    500: '#731174',
    950: '#000000',
  },
}
SCSS
$custom: #731174;
$custom-light: #9f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731174",
  "rgb": {
    "r": 115,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 299.394,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.16921,
    "h": 327.7
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#731174
secondary
#37AB36
accent
#F13739
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731174

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

Preview Lab → · Contrast checker → · Palette generator →

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