#732EA1#732EA1

#732EA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.179 H 308.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#732EA1
RGBrgb(115, 46, 161)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 71%, 63%)
CMYKcmyk(28.6%, 71.4%, 0%, 36.9%)
CIE-LABlab(34.34, 50.06, -49.59)
CIE-LCHlch(34.34, 70.46, 315.27°)
OKLaboklab(45.61% 0.1109 -0.1406)
OKLCHoklch(45.61% 0.179 308.3)
XYZxyz(14.4789, 8.1723, 34.5260)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA1 #5CA12E
analogous
#392EA1 #732EA1 #A12E95
triadic
#732EA1 #A1732E #2EA173
tetradic
#732EA1 #A1392E #5CA12E #2E95A1
square
#732EA1 #A1392E #5CA12E #2E95A1
split-complementary
#732EA1 #95A12E #2EA139
monochromatic
#2F1342 #512071 #732EA1 #9443C9 #AF73D7

Accessibility & contrast

On white

7.97
#732EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732EA1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA1#FFFFFF#000000##FFFFFF
##732EA11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#10519F
Tritanopia (blue-blind)
#6C4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ea1;
/* rgb */ color: rgb(115, 46, 161);
/* oklch */ color: oklch(45.6% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dbe',
    500: '#732ea1',
    950: '#000000',
  },
}
SCSS
$custom: #732ea1;
$custom-light: #9f6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea1",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.17905,
    "h": 308.3
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#732EA1
secondary
#8DBE6C
accent
#DF4985
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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