#731E9F#731E9F

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

Color values

HEX#731E9F
RGBrgb(115, 30, 159)
HSLhsl(280, 68%, 37%)
HSVhsv(280, 81%, 62%)
CMYKcmyk(27.7%, 81.1%, 0%, 37.6%)
CIE-LABlab(31.98, 55.92, -52.20)
CIE-LCHlch(31.98, 76.50, 316.97°)
OKLaboklab(43.9% 0.1262 -0.1481)
OKLCHoklch(43.9% 0.195 310.4)
XYZxyz(13.7913, 7.0769, 33.4336)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E9F #4A9F1E
analogous
#331E9F #731E9F #9F1E8B
triadic
#731E9F #9F731E #1E9F73
tetradic
#731E9F #9F331E #4A9F1E #1E8B9F
square
#731E9F #9F331E #4A9F1E #1E8B9F
split-complementary
#731E9F #8B9F1E #1E9F33
monochromatic
#290B38 #4E146C #731E9F #9828D2 #B158DF

Accessibility & contrast

On white

8.69
#731E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E9F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E9F#FFFFFF#000000##FFFFFF
##731E9F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6D3F5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #731e9f;
/* rgb */ color: rgb(115, 30, 159);
/* oklch */ color: oklch(43.9% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#a065bc',
    500: '#731e9f',
    950: '#000000',
  },
}
SCSS
$custom: #731e9f;
$custom-light: #a065bc;
$custom-dark: #000000;
JSON
{
  "hex": "#731e9f",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 279.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.19457,
    "h": 310.4
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#731E9F
secondary
#7BC356
accent
#EB3D78
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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