#731EA9#731EA9

#731EA9 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.204 H 307.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#731EA9
RGBrgb(115, 30, 169)
HSLhsl(277, 70%, 39%)
HSVhsv(277, 82%, 66%)
CMYKcmyk(32%, 82.2%, 0%, 33.7%)
CIE-LABlab(32.78, 58.08, -56.93)
CIE-LCHlch(32.78, 81.33, 315.57°)
OKLaboklab(44.71% 0.1236 -0.162)
OKLCHoklch(44.71% 0.204 307.3)
XYZxyz(14.6944, 7.4382, 38.1900)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731EA9 #54A91E
analogous
#2E1EA9 #731EA9 #A91E9A
triadic
#731EA9 #A9731E #1EA973
tetradic
#731EA9 #A92E1E #54A91E #1E9AA9
square
#731EA9 #A92E1E #54A91E #1E9AA9
split-complementary
#731EA9 #9AA91E #1EA92E
monochromatic
#2C0C41 #501575 #731EA9 #962BD9 #AF5FE3

Accessibility & contrast

On white

8.44
#731EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#731EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731EA9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731EA9#FFFFFF#000000##FFFFFF
##731EA91.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731ea9;
/* rgb */ color: rgb(115, 30, 169);
/* oklch */ color: oklch(44.7% 0.204 307.3);
Tailwind
colors: {
  custom: {
    50: '#a166c4',
    500: '#731ea9',
    950: '#000000',
  },
}
SCSS
$custom: #731ea9;
$custom-light: #a166c4;
$custom-dark: #000000;
JSON
{
  "hex": "#731ea9",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 276.691,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.20377,
    "h": 307.3
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#731EA9
secondary
#85C75C
accent
#ED3B80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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