#732AB5#732AB5

#732AB5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.204 H 302.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#732AB5
RGBrgb(115, 42, 181)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 77%, 71%)
CMYKcmyk(36.5%, 76.8%, 0%, 29%)
CIE-LABlab(35.28, 56.42, -60.04)
CIE-LCHlch(35.28, 82.38, 313.22°)
OKLaboklab(46.76% 0.1108 -0.1712)
OKLCHoklch(46.76% 0.204 302.9)
XYZxyz(16.2367, 8.6369, 44.5188)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AB5 #6CB52A
analogous
#2D2AB5 #732AB5 #B52AB1
triadic
#732AB5 #B5732A #2AB573
tetradic
#732AB5 #B52D2A #6CB52A #2AB1B5
square
#732AB5 #B52D2A #6CB52A #2AB1B5
split-complementary
#732AB5 #B1B52A #2AB52D
monochromatic
#341352 #531E83 #732AB5 #9248D4 #AF79E0

Accessibility & contrast

On white

7.70
#732AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#732AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AB5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AB5#FFFFFF#000000##FFFFFF
##732AB51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#654E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732ab5;
/* rgb */ color: rgb(115, 42, 181);
/* oklch */ color: oklch(46.8% 0.204 302.9);
Tailwind
colors: {
  custom: {
    50: '#a16ccc',
    500: '#732ab5',
    950: '#000000',
  },
}
SCSS
$custom: #732ab5;
$custom-light: #a16ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#732ab5",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 271.511,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.20397,
    "h": 302.9
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#732AB5
secondary
#9BC873
accent
#E54290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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