#732EA5#732EA5

#732EA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.183 H 307.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#732EA5
RGBrgb(115, 46, 165)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.3%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.63, 50.98, -51.53)
CIE-LCHlch(34.63, 72.49, 314.69°)
OKLaboklab(45.91% 0.1103 -0.1462)
OKLCHoklch(45.91% 0.183 307)
XYZxyz(14.8373, 8.3156, 36.4134)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA5 #60A52E
analogous
#382EA5 #732EA5 #A52E9C
triadic
#732EA5 #A5732E #2EA573
tetradic
#732EA5 #A5382E #60A52E #2E9CA5
square
#732EA5 #A5382E #60A52E #2E9CA5
split-complementary
#732EA5 #9CA52E #2EA538
monochromatic
#301345 #522175 #732EA5 #9345CB #AF75D8

Accessibility & contrast

On white

7.89
#732EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#732EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EA5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA5#FFFFFF#000000##FFFFFF
##732EA51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0252A2
Tritanopia (blue-blind)
#6B4966
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ea5;
/* rgb */ color: rgb(115, 46, 165);
/* oklch */ color: oklch(45.9% 0.183 307.0);
Tailwind
colors: {
  custom: {
    50: '#a06dc0',
    500: '#732ea5',
    950: '#000000',
  },
}
SCSS
$custom: #732ea5;
$custom-light: #a06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea5",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 274.79,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.18319,
    "h": 307
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#732EA5
secondary
#91C06F
accent
#E04888
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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