#732BAC#732BAC

#732BAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.194 H 305.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#732BAC
RGBrgb(115, 43, 172)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(33.1%, 75%, 0%, 32.5%)
CIE-LABlab(34.70, 53.91, -55.61)
CIE-LCHlch(34.70, 77.45, 314.11°)
OKLaboklab(46.13% 0.112 -0.1582)
OKLCHoklch(46.13% 0.194 305.3)
XYZxyz(15.3788, 8.3513, 39.8235)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732BAC #64AC2B
analogous
#322BAC #732BAC #AC2BA5
triadic
#732BAC #AC732B #2BAC73
tetradic
#732BAC #AC322B #64AC2B #2BA5AC
square
#732BAC #AC322B #64AC2B #2BA5AC
split-complementary
#732BAC #A5AC2B #2BAC32
monochromatic
#32134A #521F7B #732BAC #9244D0 #AF75DC

Accessibility & contrast

On white

7.86
#732BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#732BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732BAC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732BAC#FFFFFF#000000##FFFFFF
##732BAC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#684B6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #732bac;
/* rgb */ color: rgb(115, 43, 172);
/* oklch */ color: oklch(46.1% 0.194 305.3);
Tailwind
colors: {
  custom: {
    50: '#a16cc6',
    500: '#732bac',
    950: '#000000',
  },
}
SCSS
$custom: #732bac;
$custom-light: #a16cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#732bac",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 273.488,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.19385,
    "h": 305.3
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#732BAC
secondary
#94C46F
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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