#731BA1#731BA1

#731BA1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.199 H 310.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#731BA1
RGBrgb(115, 27, 161)
HSLhsl(279, 71%, 37%)
HSVhsv(279, 83%, 63%)
CMYKcmyk(28.6%, 83.2%, 0%, 36.9%)
CIE-LABlab(31.81, 57.30, -53.69)
CIE-LCHlch(31.81, 78.53, 316.86°)
OKLaboklab(43.83% 0.1279 -0.1525)
OKLCHoklch(43.83% 0.199 310)
XYZxyz(13.8939, 7.0022, 34.3309)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731BA1 #49A11B
analogous
#301BA1 #731BA1 #A11B8C
triadic
#731BA1 #A1731B #1BA173
tetradic
#731BA1 #A1301B #49A11B #1B8CA1
square
#731BA1 #A1301B #49A11B #1B8CA1
split-complementary
#731BA1 #8CA11B #1BA130
monochromatic
#280938 #4E126D #731BA1 #9824D5 #B154E2

Accessibility & contrast

On white

8.75
#731BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731BA1
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731BA1#FFFFFF#000000##FFFFFF
##731BA11.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#6C3F60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #731ba1;
/* rgb */ color: rgb(115, 27, 161);
/* oklch */ color: oklch(43.8% 0.199 310.0);
Tailwind
colors: {
  custom: {
    50: '#a064be',
    500: '#731ba1',
    950: '#000000',
  },
}
SCSS
$custom: #731ba1;
$custom-light: #a064be;
$custom-dark: #000000;
JSON
{
  "hex": "#731ba1",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 279.403,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.19901,
    "h": 310
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#731BA1
secondary
#7AC552
accent
#EE3A78
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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