#731868#731868

#731868 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.153 H 333.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#731868
RGBrgb(115, 24, 104)
HSLhsl(307, 65%, 27%)
HSVhsv(307, 79%, 45%)
CMYKcmyk(0%, 79.1%, 9.6%, 54.9%)
CIE-LABlab(27.57, 47.42, -24.85)
CIE-LCHlch(27.57, 53.54, 332.35°)
OKLaboklab(39.59% 0.1374 -0.0681)
OKLCHoklch(39.59% 0.153 333.6)
XYZxyz(9.8956, 5.2984, 13.5955)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731868 #187323
analogous
#511873 #731868 #73183A
triadic
#731868 #687318 #186873
tetradic
#731868 #735118 #187323 #183A73
square
#731868 #735118 #187323 #183A73
split-complementary
#731868 #3A7318 #187351
monochromatic
#190517 #400D3A #731868 #A62396 #D431C0

Accessibility & contrast

On white

10.20
#731868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731868
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731868#FFFFFF#000000##FFFFFF
##7318681.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#384666
Tritanopia (blue-blind)
#79213F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731868;
/* rgb */ color: rgb(115, 24, 104);
/* oklch */ color: oklch(39.6% 0.153 333.6);
Tailwind
colors: {
  custom: {
    50: '#9f6093',
    500: '#731868',
    950: '#000000',
  },
}
SCSS
$custom: #731868;
$custom-light: #9f6093;
$custom-dark: #000000;
JSON
{
  "hex": "#731868",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 307.253,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.15335,
    "h": 333.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#731868
secondary
#3FA84B
accent
#E8543F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731868

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

Preview Lab → · Contrast checker → · Palette generator →

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