#731880#731880

#731880 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.173 H 322.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#731880
RGBrgb(115, 24, 128)
HSLhsl(293, 68%, 30%)
HSVhsv(293, 81%, 50%)
CMYKcmyk(10.2%, 81.3%, 0%, 49.8%)
CIE-LABlab(29.05, 51.63, -37.80)
CIE-LCHlch(29.05, 63.98, 323.79°)
OKLaboklab(41.12% 0.1366 -0.1058)
OKLCHoklch(41.12% 0.173 322.2)
XYZxyz(11.2927, 5.8573, 20.9536)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731880 #258018
analogous
#3F1880 #731880 #801859
triadic
#731880 #807318 #188073
tetradic
#731880 #803F18 #258018 #185980
square
#731880 #803F18 #258018 #185980
split-complementary
#731880 #598018 #18803F
monochromatic
#17051A #450E4C #731880 #A122B4 #C639DA

Accessibility & contrast

On white

9.67
#731880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#731880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731880
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731880#FFFFFF#000000##FFFFFF
##7318801.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#742E4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731880;
/* rgb */ color: rgb(115, 24, 128);
/* oklch */ color: oklch(41.1% 0.173 322.2);
Tailwind
colors: {
  custom: {
    50: '#9f61a5',
    500: '#731880',
    950: '#000000',
  },
}
SCSS
$custom: #731880;
$custom-light: #9f61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731880",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 292.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.17281,
    "h": 322.2
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#731880
secondary
#4EB440
accent
#EB3D52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731880

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

Preview Lab → · Contrast checker → · Palette generator →

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