#731EA0#731EA0

#731EA0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.195 H 310.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#731EA0
RGBrgb(115, 30, 160)
HSLhsl(279, 68%, 37%)
HSVhsv(279, 81%, 63%)
CMYKcmyk(28.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(32.06, 56.14, -52.68)
CIE-LCHlch(32.06, 76.98, 316.82°)
OKLaboklab(43.98% 0.1259 -0.1495)
OKLCHoklch(43.98% 0.195 310.1)
XYZxyz(13.8784, 7.1118, 33.8925)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731EA0 #4BA01E
analogous
#321EA0 #731EA0 #A01E8C
triadic
#731EA0 #A0731E #1EA073
tetradic
#731EA0 #A0321E #4BA01E #1E8CA0
square
#731EA0 #A0321E #4BA01E #1E8CA0
split-complementary
#731EA0 #8CA01E #1EA032
monochromatic
#290B39 #4E146C #731EA0 #9828D4 #B159E0

Accessibility & contrast

On white

8.67
#731EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#731EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731EA0
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731EA0#FFFFFF#000000##FFFFFF
##731EA01.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#6C4060
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #731ea0;
/* rgb */ color: rgb(115, 30, 160);
/* oklch */ color: oklch(44.0% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#a065bd',
    500: '#731ea0',
    950: '#000000',
  },
}
SCSS
$custom: #731ea0;
$custom-light: #a065bd;
$custom-dark: #000000;
JSON
{
  "hex": "#731ea0",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 279.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43981,
    "c": 0.19549,
    "h": 310.1
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#731EA0
secondary
#7CC456
accent
#EB3D79
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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