#732AAC#732AAC

#732AAC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.195 H 305.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#732AAC
RGBrgb(115, 42, 172)
HSLhsl(274, 61%, 42%)
HSVhsv(274, 76%, 67%)
CMYKcmyk(33.1%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.56, 54.32, -55.85)
CIE-LCHlch(34.56, 77.91, 314.21°)
OKLaboklab(46.03% 0.1129 -0.1589)
OKLCHoklch(46.03% 0.195 305.4)
XYZxyz(15.3429, 8.2794, 39.8115)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AAC #63AC2A
analogous
#322AAC #732AAC #AC2AA4
triadic
#732AAC #AC732A #2AAC73
tetradic
#732AAC #AC322A #63AC2A #2AA4AC
square
#732AAC #AC322A #63AC2A #2AA4AC
split-complementary
#732AAC #A4AC2A #2AAC32
monochromatic
#31124A #521E7B #732AAC #9242D1 #AF73DD

Accessibility & contrast

On white

7.91
#732AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#732AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AAC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AAC#FFFFFF#000000##FFFFFF
##732AAC1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#684A69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732aac;
/* rgb */ color: rgb(115, 42, 172);
/* oklch */ color: oklch(46.0% 0.195 305.4);
Tailwind
colors: {
  custom: {
    50: '#a16bc6',
    500: '#732aac',
    950: '#000000',
  },
}
SCSS
$custom: #732aac;
$custom-light: #a16bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#732aac",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 273.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.19495,
    "h": 305.4
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#732AAC
secondary
#94C46D
accent
#E4448A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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