#731CA0#731CA0

#731CA0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.197 H 310.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#731CA0
RGBrgb(115, 28, 160)
HSLhsl(280, 70%, 37%)
HSVhsv(280, 83%, 63%)
CMYKcmyk(28.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(31.84, 56.78, -53.04)
CIE-LCHlch(31.84, 77.70, 316.95°)
OKLaboklab(43.83% 0.1274 -0.1506)
OKLCHoklch(43.83% 0.197 310.2)
XYZxyz(13.8294, 7.0137, 33.8762)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CA0 #49A01C
analogous
#311CA0 #731CA0 #A01C8B
triadic
#731CA0 #A0731C #1CA073
tetradic
#731CA0 #A0311C #49A01C #1C8BA0
square
#731CA0 #A0311C #49A01C #1C8BA0
split-complementary
#731CA0 #8BA01C #1CA031
monochromatic
#280A38 #4E136C #731CA0 #9825D4 #B155E1

Accessibility & contrast

On white

8.74
#731CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#731CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CA0
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CA0#FFFFFF#000000##FFFFFF
##731CA01.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#6D3F5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #731ca0;
/* rgb */ color: rgb(115, 28, 160);
/* oklch */ color: oklch(43.8% 0.197 310.2);
Tailwind
colors: {
  custom: {
    50: '#a065bd',
    500: '#731ca0',
    950: '#000000',
  },
}
SCSS
$custom: #731ca0;
$custom-light: #a065bd;
$custom-dark: #000000;
JSON
{
  "hex": "#731ca0",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 279.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.19726,
    "h": 310.2
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #731CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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