#731864#731864

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

Color values

HEX#731864
RGBrgb(115, 24, 100)
HSLhsl(310, 65%, 27%)
HSVhsv(310, 79%, 45%)
CMYKcmyk(0%, 79.1%, 13%, 54.9%)
CIE-LABlab(27.35, 46.78, -22.59)
CIE-LCHlch(27.35, 51.95, 334.22°)
OKLaboklab(39.37% 0.1371 -0.0617)
OKLCHoklch(39.37% 0.15 335.8)
XYZxyz(9.6973, 5.2191, 12.5508)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731864 #187327
analogous
#551873 #731864 #731837
triadic
#731864 #647318 #186473
tetradic
#731864 #735518 #187327 #183773
square
#731864 #735518 #187327 #183773
split-complementary
#731864 #377318 #187355
monochromatic
#190516 #400D38 #731864 #A62390 #D431B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731864#FFFFFF#000000##FFFFFF
##7318641.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)
#193866
Deuteranopia (green-blind)
#3A4562
Tritanopia (blue-blind)
#791F3C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731864;
/* rgb */ color: rgb(115, 24, 100);
/* oklch */ color: oklch(39.4% 0.150 335.8);
Tailwind
colors: {
  custom: {
    50: '#9f6090',
    500: '#731864',
    950: '#000000',
  },
}
SCSS
$custom: #731864;
$custom-light: #9f6090;
$custom-dark: #000000;
JSON
{
  "hex": "#731864",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 309.89,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.15033,
    "h": 335.8
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#731864
secondary
#3FA850
accent
#E85B3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731864

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

Preview Lab → · Contrast checker → · Palette generator →

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