#731CA6#731CA6

#731CA6 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.203 H 308.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#731CA6
RGBrgb(115, 28, 166)
HSLhsl(278, 71%, 38%)
HSVhsv(278, 83%, 65%)
CMYKcmyk(30.7%, 83.1%, 0%, 34.9%)
CIE-LABlab(32.32, 58.06, -55.88)
CIE-LCHlch(32.32, 80.58, 316.10°)
OKLaboklab(44.31% 0.1258 -0.1589)
OKLCHoklch(44.31% 0.203 308.4)
XYZxyz(14.3670, 7.2288, 36.7074)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CA6 #4FA61C
analogous
#2E1CA6 #731CA6 #A61C94
triadic
#731CA6 #A6731C #1CA673
tetradic
#731CA6 #A62E1C #4FA61C #1C94A6
square
#731CA6 #A62E1C #4FA61C #1C94A6
split-complementary
#731CA6 #94A61C #1CA62E
monochromatic
#2A0A3D #4F1372 #731CA6 #9725DA #B059E3

Accessibility & contrast

On white

8.59
#731CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#731CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CA6
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CA6#FFFFFF#000000##FFFFFF
##731CA61.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#6B4163
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #731ca6;
/* rgb */ color: rgb(115, 28, 166);
/* oklch */ color: oklch(44.3% 0.203 308.4);
Tailwind
colors: {
  custom: {
    50: '#a165c1',
    500: '#731ca6',
    950: '#000000',
  },
}
SCSS
$custom: #731ca6;
$custom-light: #a165c1;
$custom-dark: #000000;
JSON
{
  "hex": "#731ca6",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 277.826,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.20271,
    "h": 308.4
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#731CA6
secondary
#80C757
accent
#EE3A7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #731CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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