#732AA4#732AA4

#732AA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.187 H 307.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#732AA4
RGBrgb(115, 42, 164)
HSLhsl(276, 59%, 40%)
HSVhsv(276, 74%, 64%)
CMYKcmyk(29.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(33.94, 52.49, -52.04)
CIE-LCHlch(33.94, 73.91, 315.25°)
OKLaboklab(45.4% 0.1145 -0.1477)
OKLCHoklch(45.4% 0.187 307.8)
XYZxyz(14.5976, 7.9813, 35.8863)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732AA4 #5BA42A
analogous
#362AA4 #732AA4 #A42A98
triadic
#732AA4 #A4732A #2AA473
tetradic
#732AA4 #A4362A #5BA42A #2A98A4
square
#732AA4 #A4362A #5BA42A #2A98A4
split-complementary
#732AA4 #98A42A #2AA436
monochromatic
#2F1143 #511E73 #732AA4 #943ECD #AF6EDA

Accessibility & contrast

On white

8.09
#732AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#732AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732AA4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732AA4#FFFFFF#000000##FFFFFF
##732AA41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#6B4765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732aa4;
/* rgb */ color: rgb(115, 42, 164);
/* oklch */ color: oklch(45.4% 0.187 307.8);
Tailwind
colors: {
  custom: {
    50: '#a06bc0',
    500: '#732aa4',
    950: '#000000',
  },
}
SCSS
$custom: #732aa4;
$custom-light: #a06bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732aa4",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 275.902,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.18692,
    "h": 307.8
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#732AA4
secondary
#8CC169
accent
#E24584
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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