#731CBE#731CBE

#731CBE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.4% C 0.225 H 301.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#731CBE
RGBrgb(115, 28, 190)
HSLhsl(272, 74%, 43%)
HSVhsv(272, 85%, 75%)
CMYKcmyk(39.5%, 85.3%, 0%, 25.5%)
CIE-LABlab(34.38, 63.32, -66.82)
CIE-LCHlch(34.38, 92.05, 313.46°)
OKLaboklab(46.37% 0.1182 -0.191)
OKLCHoklch(46.37% 0.225 301.8)
XYZxyz(16.7775, 8.1930, 49.4027)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CBE #67BE1C
analogous
#221CBE #731CBE #BE1CB8
triadic
#731CBE #BE731C #1CBE73
tetradic
#731CBE #BE221C #67BE1C #1CB8BE
square
#731CBE #BE221C #67BE1C #1CB8BE
split-complementary
#731CBE #B8BE1C #1CBE22
monochromatic
#320C53 #531489 #731CBE #9236E1 #AF6BE9

Accessibility & contrast

On white

7.96
#731CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#731CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CBE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CBE#FFFFFF#000000##FFFFFF
##731CBE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#624D71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #731cbe;
/* rgb */ color: rgb(115, 28, 190);
/* oklch */ color: oklch(46.4% 0.225 301.8);
Tailwind
colors: {
  custom: {
    50: '#a366d3',
    500: '#731cbe',
    950: '#000000',
  },
}
SCSS
$custom: #731cbe;
$custom-light: #a366d3;
$custom-dark: #000000;
JSON
{
  "hex": "#731cbe",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 190
  },
  "hsl": {
    "h": 272.222,
    "s": 74.312,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.22466,
    "h": 301.8
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#731CBE
secondary
#97CF67
accent
#F1378D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #731CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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