#731EAA#731EAA

#731EAA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.205 H 307.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#731EAA
RGBrgb(115, 30, 170)
HSLhsl(276, 70%, 39%)
HSVhsv(276, 82%, 67%)
CMYKcmyk(32.4%, 82.4%, 0%, 33.3%)
CIE-LABlab(32.87, 58.29, -57.40)
CIE-LCHlch(32.87, 81.81, 315.44°)
OKLaboklab(44.79% 0.1233 -0.1634)
OKLCHoklch(44.79% 0.205 307)
XYZxyz(14.7886, 7.4758, 38.6863)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731EAA #55AA1E
analogous
#2D1EAA #731EAA #AA1E9B
triadic
#731EAA #AA731E #1EAA73
tetradic
#731EAA #AA2D1E #55AA1E #1E9BAA
square
#731EAA #AA2D1E #55AA1E #1E9BAA
split-complementary
#731EAA #9BAA1E #1EAA2D
monochromatic
#2D0C42 #501576 #731EAA #952CDA #AF60E3

Accessibility & contrast

On white

8.42
#731EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#731EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731EAA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731EAA#FFFFFF#000000##FFFFFF
##731EAA1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#694466
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #731eaa;
/* rgb */ color: rgb(115, 30, 170);
/* oklch */ color: oklch(44.8% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#a166c4',
    500: '#731eaa',
    950: '#000000',
  },
}
SCSS
$custom: #731eaa;
$custom-light: #a166c4;
$custom-dark: #000000;
JSON
{
  "hex": "#731eaa",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 170
  },
  "hsl": {
    "h": 276.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.20469,
    "h": 307
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#731EAA
secondary
#86C75C
accent
#ED3B81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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