#732CA6#732CA6

#732CA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.187 H 306.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#732CA6
RGBrgb(115, 44, 166)
HSLhsl(275, 58%, 41%)
HSVhsv(275, 73%, 65%)
CMYKcmyk(30.7%, 73.5%, 0%, 34.9%)
CIE-LABlab(34.40, 52.09, -52.51)
CIE-LCHlch(34.40, 73.97, 314.77°)
OKLaboklab(45.77% 0.1122 -0.1491)
OKLCHoklch(45.77% 0.187 306.9)
XYZxyz(14.8524, 8.1996, 36.8692)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CA6 #5FA62C
analogous
#362CA6 #732CA6 #A62C9C
triadic
#732CA6 #A6732C #2CA673
tetradic
#732CA6 #A6362C #5FA62C #2C9CA6
square
#732CA6 #A6362C #5FA62C #2C9CA6
split-complementary
#732CA6 #9CA62C #2CA636
monochromatic
#301245 #511F76 #732CA6 #9342CD #AF73DA

Accessibility & contrast

On white

7.96
#732CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#732CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CA6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CA6#FFFFFF#000000##FFFFFF
##732CA61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#6A4966
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ca6;
/* rgb */ color: rgb(115, 44, 166);
/* oklch */ color: oklch(45.8% 0.187 306.9);
Tailwind
colors: {
  custom: {
    50: '#a06cc1',
    500: '#732ca6',
    950: '#000000',
  },
}
SCSS
$custom: #732ca6;
$custom-light: #a06cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#732ca6",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 274.918,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.18661,
    "h": 306.9
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#732CA6
secondary
#90C16D
accent
#E14687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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