#731CA9#731CA9

#731CA9 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.205 H 307.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#731CA9
RGBrgb(115, 28, 169)
HSLhsl(277, 72%, 39%)
HSVhsv(277, 83%, 66%)
CMYKcmyk(32%, 83.4%, 0%, 33.7%)
CIE-LABlab(32.57, 58.71, -57.29)
CIE-LCHlch(32.57, 82.03, 315.70°)
OKLaboklab(44.56% 0.125 -0.163)
OKLCHoklch(44.56% 0.205 307.5)
XYZxyz(14.6454, 7.3401, 38.1737)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CA9 #52A91C
analogous
#2C1CA9 #731CA9 #A91C98
triadic
#731CA9 #A9731C #1CA973
tetradic
#731CA9 #A92C1C #52A91C #1C98A9
square
#731CA9 #A92C1C #52A91C #1C98A9
split-complementary
#731CA9 #98A91C #1CA92C
monochromatic
#2C0B40 #4F1374 #731CA9 #9627DB #B05BE4

Accessibility & contrast

On white

8.51
#731CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#731CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CA9
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CA9#FFFFFF#000000##FFFFFF
##731CA91.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731ca9;
/* rgb */ color: rgb(115, 28, 169);
/* oklch */ color: oklch(44.6% 0.205 307.5);
Tailwind
colors: {
  custom: {
    50: '#a165c4',
    500: '#731ca9',
    950: '#000000',
  },
}
SCSS
$custom: #731ca9;
$custom-light: #a165c4;
$custom-dark: #000000;
JSON
{
  "hex": "#731ca9",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 277.021,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.20543,
    "h": 307.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#731CA9
secondary
#83C859
accent
#EE397F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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