#731FA9#731FA9

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

Color values

HEX#731FA9
RGBrgb(115, 31, 169)
HSLhsl(277, 69%, 39%)
HSVhsv(277, 82%, 66%)
CMYKcmyk(32%, 81.7%, 0%, 33.7%)
CIE-LABlab(32.90, 57.75, -56.75)
CIE-LCHlch(32.90, 80.97, 315.50°)
OKLaboklab(44.79% 0.1228 -0.1615)
OKLCHoklch(44.79% 0.203 307.3)
XYZxyz(14.7201, 7.4896, 38.1986)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731FA9 #55A91F
analogous
#2E1FA9 #731FA9 #A91F9A
triadic
#731FA9 #A9731F #1FA973
tetradic
#731FA9 #A92E1F #55A91F #1F9AA9
square
#731FA9 #A92E1F #55A91F #1F9AA9
split-complementary
#731FA9 #9AA91F #1FA92E
monochromatic
#2D0C42 #501675 #731FA9 #952DD8 #AF60E2

Accessibility & contrast

On white

8.41
#731FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731FA9
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731FA9#FFFFFF#000000##FFFFFF
##731FA91.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#6A4465
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #731fa9;
/* rgb */ color: rgb(115, 31, 169);
/* oklch */ color: oklch(44.8% 0.203 307.3);
Tailwind
colors: {
  custom: {
    50: '#a166c4',
    500: '#731fa9',
    950: '#000000',
  },
}
SCSS
$custom: #731fa9;
$custom-light: #a166c4;
$custom-dark: #000000;
JSON
{
  "hex": "#731fa9",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 276.522,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.2029,
    "h": 307.3
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#731FA9
secondary
#86C75D
accent
#EC3C81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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