#731C9F#731C9F

#731C9F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.196 H 310.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#731C9F
RGBrgb(115, 28, 159)
HSLhsl(280, 70%, 37%)
HSVhsv(280, 82%, 62%)
CMYKcmyk(27.7%, 82.4%, 0%, 37.6%)
CIE-LABlab(31.76, 56.57, -52.56)
CIE-LCHlch(31.76, 77.22, 317.10°)
OKLaboklab(43.75% 0.1277 -0.1492)
OKLCHoklch(43.75% 0.196 310.6)
XYZxyz(13.7423, 6.9789, 33.4173)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C9F #489F1C
analogous
#321C9F #731C9F #9F1C8A
triadic
#731C9F #9F731C #1C9F73
tetradic
#731C9F #9F321C #489F1C #1C8A9F
square
#731C9F #9F321C #489F1C #1C8A9F
split-complementary
#731C9F #8A9F1C #1C9F32
monochromatic
#280A37 #4D136B #731C9F #9925D3 #B254E1

Accessibility & contrast

On white

8.77
#731C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731C9F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C9F#FFFFFF#000000##FFFFFF
##731C9F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731c9f;
/* rgb */ color: rgb(115, 28, 159);
/* oklch */ color: oklch(43.7% 0.196 310.6);
Tailwind
colors: {
  custom: {
    50: '#a064bc',
    500: '#731c9f',
    950: '#000000',
  },
}
SCSS
$custom: #731c9f;
$custom-light: #a064bc;
$custom-dark: #000000;
JSON
{
  "hex": "#731c9f",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 279.847,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.19635,
    "h": 310.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#731C9F
secondary
#79C453
accent
#ED3B77
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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