#731689#731689

#731689 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.182 H 318.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#731689
RGBrgb(115, 22, 137)
HSLhsl(289, 72%, 31%)
HSVhsv(289, 84%, 54%)
CMYKcmyk(16.1%, 83.9%, 0%, 46.3%)
CIE-LABlab(29.48, 53.92, -42.74)
CIE-LCHlch(29.48, 68.80, 321.60°)
OKLaboklab(41.62% 0.1369 -0.1203)
OKLCHoklch(41.62% 0.182 318.7)
XYZxyz(11.8719, 6.0254, 24.1997)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731689 #2C8916
analogous
#391689 #731689 #891665
triadic
#731689 #897316 #168973
tetradic
#731689 #893916 #2C8916 #166589
square
#731689 #893916 #2C8916 #166589
split-complementary
#731689 #658916 #168939
monochromatic
#1A0520 #470E54 #731689 #9F1EBE #C03ADF

Accessibility & contrast

On white

9.52
#731689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#731689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731689
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731689#FFFFFF#000000##FFFFFF
##7316891.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#1E4887
Tritanopia (blue-blind)
#733151
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731689;
/* rgb */ color: rgb(115, 22, 137);
/* oklch */ color: oklch(41.6% 0.182 318.7);
Tailwind
colors: {
  custom: {
    50: '#9f61ac',
    500: '#731689',
    950: '#000000',
  },
}
SCSS
$custom: #731689;
$custom-light: #9f61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731689",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 288.522,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.18221,
    "h": 318.7
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#731689
secondary
#56BD3E
accent
#EF395C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731689

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

Preview Lab → · Contrast checker → · Palette generator →

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