#732CA4#732CA4

#732CA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.185 H 307.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#732CA4
RGBrgb(115, 44, 164)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29.9%, 73.2%, 0%, 35.7%)
CIE-LABlab(34.25, 51.63, -51.55)
CIE-LCHlch(34.25, 72.96, 315.04°)
OKLaboklab(45.62% 0.1125 -0.1463)
OKLCHoklch(45.62% 0.185 307.6)
XYZxyz(14.6703, 8.1267, 35.9105)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA4 #5DA42C
analogous
#372CA4 #732CA4 #A42C99
triadic
#732CA4 #A4732C #2CA473
tetradic
#732CA4 #A4372C #5DA42C #2C99A4
square
#732CA4 #A4372C #5DA42C #2C99A4
split-complementary
#732CA4 #99A42C #2CA437
monochromatic
#2F1243 #511F74 #732CA4 #9341CC #AF71D9

Accessibility & contrast

On white

8.00
#732CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#732CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA4#FFFFFF#000000##FFFFFF
##732CA41.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#6B4865
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca4;
/* rgb */ color: rgb(115, 44, 164);
/* oklch */ color: oklch(45.6% 0.185 307.6);
Tailwind
colors: {
  custom: {
    50: '#a06cc0',
    500: '#732ca4',
    950: '#000000',
  },
}
SCSS
$custom: #732ca4;
$custom-light: #a06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca4",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 275.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.18457,
    "h": 307.6
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#732CA4
secondary
#8EC06B
accent
#E14786
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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