#732CB9#732CB9

#732CB9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.206 H 301.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#732CB9
RGBrgb(115, 44, 185)
HSLhsl(270, 62%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(37.8%, 76.2%, 0%, 27.5%)
CIE-LABlab(35.89, 56.54, -61.41)
CIE-LCHlch(35.89, 83.48, 312.64°)
OKLaboklab(47.29% 0.1081 -0.1753)
OKLCHoklch(47.29% 0.206 301.7)
XYZxyz(16.7257, 8.9489, 46.7357)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB9 #72B92C
analogous
#2D2CB9 #732CB9 #B92CB8
triadic
#732CB9 #B9732C #2CB973
tetradic
#732CB9 #B92D2C #72B92C #2CB8B9
square
#732CB9 #B92D2C #72B92C #2CB8B9
split-complementary
#732CB9 #B8B92C #2CB92D
monochromatic
#361456 #542088 #732CB9 #924DD5 #B07FE1

Accessibility & contrast

On white

7.53
#732CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#732CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CB9
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB9#FFFFFF#000000##FFFFFF
##732CB91.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#645171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732cb9;
/* rgb */ color: rgb(115, 44, 185);
/* oklch */ color: oklch(47.3% 0.206 301.7);
Tailwind
colors: {
  custom: {
    50: '#a26dcf',
    500: '#732cb9',
    950: '#000000',
  },
}
SCSS
$custom: #732cb9;
$custom-light: #a26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb9",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 270.213,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.20595,
    "h": 301.7
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#732CB9
secondary
#A0C978
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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