#732FA5#732FA5

#732FA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.182 H 306.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#732FA5
RGBrgb(115, 47, 165)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.3%, 71.5%, 0%, 35.3%)
CIE-LABlab(34.79, 50.53, -51.27)
CIE-LCHlch(34.79, 71.98, 314.58°)
OKLaboklab(46.03% 0.1093 -0.1455)
OKLCHoklch(46.03% 0.182 306.9)
XYZxyz(14.8768, 8.3947, 36.4266)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA5 #61A52F
analogous
#382FA5 #732FA5 #A52F9C
triadic
#732FA5 #A5732F #2FA573
tetradic
#732FA5 #A5382F #61A52F #2F9CA5
square
#732FA5 #A5382F #61A52F #2F9CA5
split-complementary
#732FA5 #9CA52F #2FA538
monochromatic
#311446 #522175 #732FA5 #9347CB #AF76D8

Accessibility & contrast

On white

7.84
#732FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#732FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732FA5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA5#FFFFFF#000000##FFFFFF
##732FA51.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0552A2
Tritanopia (blue-blind)
#6B4A67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732fa5;
/* rgb */ color: rgb(115, 47, 165);
/* oklch */ color: oklch(46.0% 0.182 306.9);
Tailwind
colors: {
  custom: {
    50: '#a06dc0',
    500: '#732fa5',
    950: '#000000',
  },
}
SCSS
$custom: #732fa5;
$custom-light: #a06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa5",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 274.576,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.18196,
    "h": 306.9
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#732FA5
secondary
#92C070
accent
#DF4988
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA5

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

Preview Lab → · Contrast checker → · Palette generator →

#732FA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva