#731CA1#731CA1

#731CA1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.9% C 0.198 H 309.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#731CA1
RGBrgb(115, 28, 161)
HSLhsl(279, 70%, 37%)
HSVhsv(279, 83%, 63%)
CMYKcmyk(28.6%, 82.6%, 0%, 36.9%)
CIE-LABlab(31.92, 56.99, -53.52)
CIE-LCHlch(31.92, 78.18, 316.80°)
OKLaboklab(43.91% 0.1272 -0.152)
OKLCHoklch(43.91% 0.198 309.9)
XYZxyz(13.9172, 7.0489, 34.3387)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CA1 #4AA11C
analogous
#311CA1 #731CA1 #A11C8D
triadic
#731CA1 #A1731C #1CA173
tetradic
#731CA1 #A1311C #4AA11C #1C8DA1
square
#731CA1 #A1311C #4AA11C #1C8DA1
split-complementary
#731CA1 #8DA11C #1CA131
monochromatic
#290A39 #4E136D #731CA1 #9825D5 #B156E2

Accessibility & contrast

On white

8.71
#731CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#731CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CA1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CA1#FFFFFF#000000##FFFFFF
##731CA11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#6C3F60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #731ca1;
/* rgb */ color: rgb(115, 28, 161);
/* oklch */ color: oklch(43.9% 0.198 309.9);
Tailwind
colors: {
  custom: {
    50: '#a065be',
    500: '#731ca1',
    950: '#000000',
  },
}
SCSS
$custom: #731ca1;
$custom-light: #a065be;
$custom-dark: #000000;
JSON
{
  "hex": "#731ca1",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 279.248,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.19816,
    "h": 309.9
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#731CA1
secondary
#7BC554
accent
#ED3B78
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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