#731870#731870

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

Color values

HEX#731870
RGBrgb(115, 24, 112)
HSLhsl(302, 65%, 27%)
HSVhsv(302, 79%, 45%)
CMYKcmyk(0%, 79.1%, 2.6%, 54.9%)
CIE-LABlab(28.03, 48.76, -29.27)
CIE-LCHlch(28.03, 56.87, 329.02°)
OKLaboklab(40.07% 0.1376 -0.0809)
OKLCHoklch(40.07% 0.16 329.5)
XYZxyz(10.3214, 5.4688, 15.8381)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731870 #18731B
analogous
#491873 #731870 #731843
triadic
#731870 #707318 #187073
tetradic
#731870 #734918 #18731B #184373
square
#731870 #734918 #18731B #184373
split-complementary
#731870 #437318 #187349
monochromatic
#190519 #400D3F #731870 #A623A1 #D431CF

Accessibility & contrast

On white

10.03
#731870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#731870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731870
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731870#FFFFFF#000000##FFFFFF
##7318701.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#34466E
Tritanopia (blue-blind)
#772643
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731870;
/* rgb */ color: rgb(115, 24, 112);
/* oklch */ color: oklch(40.1% 0.160 329.5);
Tailwind
colors: {
  custom: {
    50: '#9f6199',
    500: '#731870',
    950: '#000000',
  },
}
SCSS
$custom: #731870;
$custom-light: #9f6199;
$custom-dark: #000000;
JSON
{
  "hex": "#731870",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 301.978,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.15962,
    "h": 329.5
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#731870
secondary
#3FA842
accent
#E8453F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731870

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

Preview Lab → · Contrast checker → · Palette generator →

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