#731778#731778

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

Color values

HEX#731778
RGBrgb(115, 23, 120)
HSLhsl(297, 68%, 28%)
HSVhsv(297, 81%, 47%)
CMYKcmyk(4.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(28.42, 50.47, -33.75)
CIE-LCHlch(28.42, 60.72, 326.23°)
OKLaboklab(40.51% 0.1382 -0.094)
OKLCHoklch(40.51% 0.167 325.8)
XYZxyz(10.7666, 5.6144, 18.2823)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731778 #1C7817
analogous
#421778 #731778 #78174C
triadic
#731778 #787317 #177873
tetradic
#731778 #784217 #1C7817 #174C78
square
#731778 #784217 #1C7817 #174C78
split-complementary
#731778 #4C7817 #177842
monochromatic
#19051A #420D45 #731778 #A421AB #CF32D8

Accessibility & contrast

On white

9.89
#731778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731778
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731778#FFFFFF#000000##FFFFFF
##7317781.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.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: #731778;
/* rgb */ color: rgb(115, 23, 120);
/* oklch */ color: oklch(40.5% 0.167 325.8);
Tailwind
colors: {
  custom: {
    50: '#9f619f',
    500: '#731778',
    950: '#000000',
  },
}
SCSS
$custom: #731778;
$custom-light: #9f619f;
$custom-dark: #000000;
JSON
{
  "hex": "#731778",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 296.907,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40508,
    "c": 0.16712,
    "h": 325.8
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#731778
secondary
#43AD3E
accent
#EB3D46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731778

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

Preview Lab → · Contrast checker → · Palette generator →

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