#732FA3#732FA3

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

Color values

HEX#732FA3
RGBrgb(115, 47, 163)
HSLhsl(275, 55%, 41%)
HSVhsv(275, 71%, 64%)
CMYKcmyk(29.4%, 71.2%, 0%, 36.1%)
CIE-LABlab(34.65, 50.07, -50.30)
CIE-LCHlch(34.65, 70.97, 314.87°)
OKLaboklab(45.88% 0.1096 -0.1427)
OKLCHoklch(45.88% 0.18 307.5)
XYZxyz(14.6962, 8.3224, 35.4754)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732FA3 #5FA32F
analogous
#392FA3 #732FA3 #A32F99
triadic
#732FA3 #A3732F #2FA373
tetradic
#732FA3 #A3392F #5FA32F #2F99A3
square
#732FA3 #A3392F #5FA32F #2F99A3
split-complementary
#732FA3 #99A32F #2FA339
monochromatic
#301444 #512173 #732FA3 #9346CA #AF75D7

Accessibility & contrast

On white

7.88
#732FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732FA3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732FA3#FFFFFF#000000##FFFFFF
##732FA31.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732fa3;
/* rgb */ color: rgb(115, 47, 163);
/* oklch */ color: oklch(45.9% 0.180 307.5);
Tailwind
colors: {
  custom: {
    50: '#a06dbf',
    500: '#732fa3',
    950: '#000000',
  },
}
SCSS
$custom: #732fa3;
$custom-light: #a06dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#732fa3",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 275.172,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.17988,
    "h": 307.5
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#732FA3
secondary
#90BF6F
accent
#DF4987
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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