#731985#731985

#731985 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.176 H 320.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#731985
RGBrgb(115, 25, 133)
HSLhsl(290, 68%, 31%)
HSVhsv(290, 81%, 52%)
CMYKcmyk(13.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(29.50, 52.26, -40.21)
CIE-LCHlch(29.50, 65.94, 322.43°)
OKLaboklab(41.55% 0.1352 -0.1129)
OKLCHoklch(41.55% 0.176 320.1)
XYZxyz(11.6510, 6.0342, 22.7368)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731985 #2B8519
analogous
#3D1985 #731985 #851961
triadic
#731985 #857319 #198573
tetradic
#731985 #853D19 #2B8519 #196185
square
#731985 #853D19 #2B8519 #196185
split-complementary
#731985 #618519 #19853D
monochromatic
#1A061E #460F51 #731985 #A023B9 #C13EDB

Accessibility & contrast

On white

9.52
#731985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#731985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731985
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731985#FFFFFF#000000##FFFFFF
##7319851.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#244883
Tritanopia (blue-blind)
#73314F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731985;
/* rgb */ color: rgb(115, 25, 133);
/* oklch */ color: oklch(41.5% 0.176 320.1);
Tailwind
colors: {
  custom: {
    50: '#9f62a9',
    500: '#731985',
    950: '#000000',
  },
}
SCSS
$custom: #731985;
$custom-light: #9f62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731985",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 290,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.17611,
    "h": 320.1
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#731985
secondary
#55B941
accent
#EB3D5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731985

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

Preview Lab → · Contrast checker → · Palette generator →

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