#731980#731980

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

Color values

HEX#731980
RGBrgb(115, 25, 128)
HSLhsl(292, 67%, 30%)
HSVhsv(292, 80%, 50%)
CMYKcmyk(10.2%, 80.5%, 0%, 49.8%)
CIE-LABlab(29.16, 51.31, -37.62)
CIE-LCHlch(29.16, 63.63, 323.75°)
OKLaboklab(41.2% 0.1358 -0.1053)
OKLCHoklch(41.2% 0.172 322.2)
XYZxyz(11.3137, 5.8993, 20.9606)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731980 #268019
analogous
#3F1980 #731980 #80195A
triadic
#731980 #807319 #198073
tetradic
#731980 #803F19 #268019 #195A80
square
#731980 #803F19 #268019 #195A80
split-complementary
#731980 #5A8019 #19803F
monochromatic
#17051A #450F4D #731980 #A123B3 #C53BD9

Accessibility & contrast

On white

9.63
#731980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731980
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731980#FFFFFF#000000##FFFFFF
##7319801.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731980;
/* rgb */ color: rgb(115, 25, 128);
/* oklch */ color: oklch(41.2% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#9f62a5',
    500: '#731980',
    950: '#000000',
  },
}
SCSS
$custom: #731980;
$custom-light: #9f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731980",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 292.427,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.412,
    "c": 0.17184,
    "h": 322.2
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#731980
secondary
#4FB441
accent
#EA3E53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731980

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

Preview Lab → · Contrast checker → · Palette generator →

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