#732EA3#732EA3

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

Color values

HEX#732EA3
RGBrgb(115, 46, 163)
HSLhsl(275, 56%, 41%)
HSVhsv(275, 72%, 64%)
CMYKcmyk(29.4%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.48, 50.52, -50.56)
CIE-LCHlch(34.48, 71.47, 314.98°)
OKLaboklab(45.76% 0.1106 -0.1434)
OKLCHoklch(45.76% 0.181 307.6)
XYZxyz(14.6567, 8.2434, 35.4622)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EA3 #5EA32E
analogous
#392EA3 #732EA3 #A32E98
triadic
#732EA3 #A3732E #2EA373
tetradic
#732EA3 #A3392E #5EA32E #2E98A3
square
#732EA3 #A3392E #5EA32E #2E98A3
split-complementary
#732EA3 #98A32E #2EA339
monochromatic
#301344 #512173 #732EA3 #9344CA #AF74D8

Accessibility & contrast

On white

7.93
#732EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#732EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EA3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EA3#FFFFFF#000000##FFFFFF
##732EA31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0A52A1
Tritanopia (blue-blind)
#6B4965
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #732ea3;
/* rgb */ color: rgb(115, 46, 163);
/* oklch */ color: oklch(45.8% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#a06dbf',
    500: '#732ea3',
    950: '#000000',
  },
}
SCSS
$custom: #732ea3;
$custom-light: #a06dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#732ea3",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 275.385,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.18112,
    "h": 307.6
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#732EA3
secondary
#8FBF6D
accent
#DF4986
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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