#732AA1#732AA1

#732AA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.184 H 308.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#732AA1
RGBrgb(115, 42, 161)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 63%)
CMYKcmyk(28.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.72, 51.81, -50.59)
CIE-LCHlch(33.72, 72.41, 315.68°)
OKLaboklab(45.17% 0.115 -0.1435)
OKLCHoklch(45.17% 0.184 308.7)
XYZxyz(14.3299, 7.8742, 34.4763)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA1 #58A12A
analogous
#382AA1 #732AA1 #A12A93
triadic
#732AA1 #A1732A #2AA173
tetradic
#732AA1 #A1382A #58A12A #2A93A1
square
#732AA1 #A1382A #58A12A #2A93A1
split-complementary
#732AA1 #93A12A #2AA138
monochromatic
#2E1140 #501D70 #732AA1 #943CCC #AF6DD9

Accessibility & contrast

On white

8.16
#732AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#732AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA1#FFFFFF#000000##FFFFFF
##732AA11.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#05509E
Tritanopia (blue-blind)
#6C4663
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #732aa1;
/* rgb */ color: rgb(115, 42, 161);
/* oklch */ color: oklch(45.2% 0.184 308.7);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#732aa1',
    950: '#000000',
  },
}
SCSS
$custom: #732aa1;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa1",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 276.807,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.1839,
    "h": 308.7
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#732AA1
secondary
#89C067
accent
#E24682
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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