#731F90#731F90

#731F90 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.180 H 315.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#731F90
RGBrgb(115, 31, 144)
HSLhsl(285, 65%, 34%)
HSVhsv(285, 78%, 56%)
CMYKcmyk(20.1%, 78.5%, 0%, 43.5%)
CIE-LABlab(30.97, 52.44, -44.66)
CIE-LCHlch(30.97, 68.89, 319.58°)
OKLaboklab(42.84% 0.1284 -0.126)
OKLCHoklch(42.84% 0.18 315.5)
XYZxyz(12.5935, 6.6389, 26.9982)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F90 #3C901F
analogous
#3B1F90 #731F90 #901F75
triadic
#731F90 #90731F #1F9073
tetradic
#731F90 #903B1F #3C901F #1F7590
square
#731F90 #903B1F #3C901F #1F7590
split-complementary
#731F90 #75901F #1F903B
monochromatic
#23092B #4B145E #731F90 #9B2AC2 #B650D9

Accessibility & contrast

On white

9.02
#731F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#731F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F90
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F90#FFFFFF#000000##FFFFFF
##731F901.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#713957
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731f90;
/* rgb */ color: rgb(115, 31, 144);
/* oklch */ color: oklch(42.8% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#9f65b1',
    500: '#731f90',
    950: '#000000',
  },
}
SCSS
$custom: #731f90;
$custom-light: #9f65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#731f90",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 284.602,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.17985,
    "h": 315.5
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#731F90
secondary
#6BBC4E
accent
#E8406B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731F90

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

Preview Lab → · Contrast checker → · Palette generator →

#731F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva