#731668#731668

#731668 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.155 H 333.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#731668
RGBrgb(115, 22, 104)
HSLhsl(307, 68%, 27%)
HSVhsv(307, 81%, 45%)
CMYKcmyk(0%, 80.9%, 9.6%, 54.9%)
CIE-LABlab(27.35, 48.05, -25.19)
CIE-LCHlch(27.35, 54.25, 332.33°)
OKLaboklab(39.44% 0.1392 -0.0691)
OKLCHoklch(39.44% 0.155 333.6)
XYZxyz(9.8559, 5.2190, 13.5823)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731668 #167321
analogous
#501673 #731668 #73163A
triadic
#731668 #687316 #166873
tetradic
#731668 #735016 #167321 #163A73
square
#731668 #735016 #167321 #163A73
split-complementary
#731668 #3A7316 #167350
monochromatic
#1A0517 #400C3A #731668 #A62096 #D72DC3

Accessibility & contrast

On white

10.28
#731668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731668
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731668#FFFFFF#000000##FFFFFF
##7316681.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#374566
Tritanopia (blue-blind)
#79203E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731668;
/* rgb */ color: rgb(115, 22, 104);
/* oklch */ color: oklch(39.4% 0.155 333.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f93',
    500: '#731668',
    950: '#000000',
  },
}
SCSS
$custom: #731668;
$custom-light: #9f5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#731668",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 307.097,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.15544,
    "h": 333.6
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#731668
secondary
#3CA949
accent
#EB523D
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731668

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

Preview Lab → · Contrast checker → · Palette generator →

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