#732DB6#732DB6

#732DB6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.202 H 302.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#732DB6
RGBrgb(115, 45, 182)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(36.8%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.79, 55.41, -59.79)
CIE-LCHlch(35.79, 81.52, 312.82°)
OKLaboklab(47.14% 0.108 -0.1705)
OKLCHoklch(47.14% 0.202 302.3)
XYZxyz(16.4501, 8.8990, 45.0979)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB6 #70B62D
analogous
#2F2DB6 #732DB6 #B62DB5
triadic
#732DB6 #B6732D #2DB673
tetradic
#732DB6 #B62F2D #70B62D #2DB5B6
square
#732DB6 #B62F2D #70B62D #2DB5B6
split-complementary
#732DB6 #B5B62D #2DB62F
monochromatic
#351554 #542185 #732DB6 #924DD3 #B07EDF

Accessibility & contrast

On white

7.55
#732DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#732DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB6
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB6#FFFFFF#000000##FFFFFF
##732DB61.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#655070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732db6;
/* rgb */ color: rgb(115, 45, 182);
/* oklch */ color: oklch(47.1% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#a16dcd',
    500: '#732db6',
    950: '#000000',
  },
}
SCSS
$custom: #732db6;
$custom-light: #a16dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#732db6",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 270.657,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.20185,
    "h": 302.3
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#732DB6
secondary
#9FC877
accent
#E34492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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