#731CB3#731CB3

#731CB3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.4% C 0.215 H 304.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#731CB3
RGBrgb(115, 28, 179)
HSLhsl(275, 73%, 41%)
HSVhsv(275, 84%, 70%)
CMYKcmyk(35.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(33.41, 60.88, -61.89)
CIE-LCHlch(33.41, 86.81, 314.53°)
OKLaboklab(45.41% 0.1219 -0.1766)
OKLCHoklch(45.41% 0.215 304.6)
XYZxyz(15.6203, 7.7301, 43.3082)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CB3 #5CB31C
analogous
#281CB3 #731CB3 #B31CA7
triadic
#731CB3 #B3731C #1CB373
tetradic
#731CB3 #B3281C #5CB31C #1CA7B3
square
#731CB3 #B3281C #5CB31C #1CA7B3
split-complementary
#731CB3 #A7B31C #1CB328
monochromatic
#2F0B49 #51147E #731CB3 #942EDE #AF63E7

Accessibility & contrast

On white

8.25
#731CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#731CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CB3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CB3#FFFFFF#000000##FFFFFF
##731CB31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#66476B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #731cb3;
/* rgb */ color: rgb(115, 28, 179);
/* oklch */ color: oklch(45.4% 0.215 304.6);
Tailwind
colors: {
  custom: {
    50: '#a266cb',
    500: '#731cb3',
    950: '#000000',
  },
}
SCSS
$custom: #731cb3;
$custom-light: #a266cb;
$custom-dark: #000000;
JSON
{
  "hex": "#731cb3",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 274.57,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45409,
    "c": 0.21457,
    "h": 304.6
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#731CB3
secondary
#8DCB5F
accent
#F03886
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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