#731678#731678

#731678 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.168 H 325.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#731678
RGBrgb(115, 22, 120)
HSLhsl(297, 69%, 28%)
HSVhsv(297, 82%, 47%)
CMYKcmyk(4.2%, 81.7%, 0%, 52.9%)
CIE-LABlab(28.32, 50.77, -33.92)
CIE-LCHlch(28.32, 61.05, 326.25°)
OKLaboklab(40.44% 0.139 -0.0945)
OKLCHoklch(40.44% 0.168 325.8)
XYZxyz(10.7471, 5.5755, 18.2758)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731678 #1B7816
analogous
#421678 #731678 #78164C
triadic
#731678 #787316 #167873
tetradic
#731678 #784216 #1B7816 #164C78
square
#731678 #784216 #1B7816 #164C78
split-complementary
#731678 #4C7816 #167842
monochromatic
#19051A #410D44 #731678 #A51FAC #D02FD9

Accessibility & contrast

On white

9.93
#731678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731678
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731678#FFFFFF#000000##FFFFFF
##7316781.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#762947
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731678;
/* rgb */ color: rgb(115, 22, 120);
/* oklch */ color: oklch(40.4% 0.168 325.8);
Tailwind
colors: {
  custom: {
    50: '#9f609f',
    500: '#731678',
    950: '#000000',
  },
}
SCSS
$custom: #731678;
$custom-light: #9f609f;
$custom-dark: #000000;
JSON
{
  "hex": "#731678",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 296.939,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.16806,
    "h": 325.8
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#731678
secondary
#42AD3C
accent
#EC3C45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731678

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

Preview Lab → · Contrast checker → · Palette generator →

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