#732EA4#732EA4

#732EA4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.182 H 307.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#732EA4
RGBrgb(115, 46, 164)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 72%, 64%)
CMYKcmyk(29.9%, 72%, 0%, 35.7%)
CIE-LABlab(34.56, 50.75, -51.05)
CIE-LCHlch(34.56, 71.98, 314.83°)
OKLaboklab(45.84% 0.1105 -0.1448)
OKLCHoklch(45.84% 0.182 307.3)
XYZxyz(14.7466, 8.2794, 35.9360)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA4 #5FA42E
analogous
#382EA4 #732EA4 #A42E9A
triadic
#732EA4 #A4732E #2EA473
tetradic
#732EA4 #A4382E #5FA42E #2E9AA4
square
#732EA4 #A4382E #5FA42E #2E9AA4
split-complementary
#732EA4 #9AA42E #2EA438
monochromatic
#301344 #512174 #732EA4 #9345CB #AF74D8

Accessibility & contrast

On white

7.91
#732EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732EA4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA4#FFFFFF#000000##FFFFFF
##732EA41.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0652A1
Tritanopia (blue-blind)
#6B4966
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ea4;
/* rgb */ color: rgb(115, 46, 164);
/* oklch */ color: oklch(45.8% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#a06dc0',
    500: '#732ea4',
    950: '#000000',
  },
}
SCSS
$custom: #732ea4;
$custom-light: #a06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea4",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 275.085,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.18216,
    "h": 307.3
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#732EA4
secondary
#90C06E
accent
#DF4887
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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