#731671#731671

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

Color values

HEX#731671
RGBrgb(115, 22, 113)
HSLhsl(301, 68%, 27%)
HSVhsv(301, 81%, 45%)
CMYKcmyk(0%, 80.9%, 1.7%, 54.9%)
CIE-LABlab(27.88, 49.55, -30.15)
CIE-LCHlch(27.88, 58.00, 328.68°)
OKLaboklab(39.98% 0.1393 -0.0835)
OKLCHoklch(39.98% 0.162 329.1)
XYZxyz(10.3377, 5.4117, 16.1197)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731671 #167318
analogous
#471673 #731671 #731643
triadic
#731671 #717316 #167173
tetradic
#731671 #734716 #167318 #164373
square
#731671 #734716 #167318 #164373
split-complementary
#731671 #437316 #167347
monochromatic
#1A0519 #400C3F #731671 #A620A3 #D72DD3

Accessibility & contrast

On white

10.09
#731671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#731671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731671
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731671#FFFFFF#000000##FFFFFF
##7316711.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#772543
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731671;
/* rgb */ color: rgb(115, 22, 113);
/* oklch */ color: oklch(40.0% 0.162 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f609a',
    500: '#731671',
    950: '#000000',
  },
}
SCSS
$custom: #731671;
$custom-light: #9f609a;
$custom-dark: #000000;
JSON
{
  "hex": "#731671",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 301.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.16243,
    "h": 329.1
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#731671
secondary
#3CA93E
accent
#EB413D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731671

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

Preview Lab → · Contrast checker → · Palette generator →

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