#731970#731970

#731970 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.159 H 329.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#731970
RGBrgb(115, 25, 112)
HSLhsl(302, 64%, 27%)
HSVhsv(302, 78%, 45%)
CMYKcmyk(0%, 78.3%, 2.6%, 54.9%)
CIE-LABlab(28.14, 48.44, -29.09)
CIE-LCHlch(28.14, 56.50, 329.01°)
OKLaboklab(40.15% 0.1367 -0.0804)
OKLCHoklch(40.15% 0.159 329.5)
XYZxyz(10.3424, 5.5107, 15.8450)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731970 #19731C
analogous
#491973 #731970 #731943
triadic
#731970 #707319 #197073
tetradic
#731970 #734919 #19731C #194373
square
#731970 #734919 #19731C #194373
split-complementary
#731970 #437319 #197349
monochromatic
#190518 #410E3F #731970 #A524A1 #D334CD

Accessibility & contrast

On white

9.99
#731970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731970
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731970#FFFFFF#000000##FFFFFF
##7319701.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B72
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#772643
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731970;
/* rgb */ color: rgb(115, 25, 112);
/* oklch */ color: oklch(40.2% 0.159 329.5);
Tailwind
colors: {
  custom: {
    50: '#9f6199',
    500: '#731970',
    950: '#000000',
  },
}
SCSS
$custom: #731970;
$custom-light: #9f6199;
$custom-dark: #000000;
JSON
{
  "hex": "#731970",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 302,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.15857,
    "h": 329.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#731970
secondary
#40A843
accent
#E74641
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731970

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

Preview Lab → · Contrast checker → · Palette generator →

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