#732CB3#732CB3

#732CB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.200 H 303.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#732CB3
RGBrgb(115, 44, 179)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(35.8%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.40, 55.12, -58.64)
CIE-LCHlch(35.40, 80.48, 313.23°)
OKLaboklab(46.79% 0.1096 -0.1672)
OKLCHoklch(46.79% 0.2 303.2)
XYZxyz(16.1057, 8.7009, 43.4700)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB3 #6CB32C
analogous
#302CB3 #732CB3 #B32CAF
triadic
#732CB3 #B3732C #2CB373
tetradic
#732CB3 #B3302C #6CB32C #2CAFB3
square
#732CB3 #B3302C #6CB32C #2CAFB3
split-complementary
#732CB3 #AFB32C #2CB330
monochromatic
#341451 #532082 #732CB3 #924AD2 #AF7BDF

Accessibility & contrast

On white

7.66
#732CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#732CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CB3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB3#FFFFFF#000000##FFFFFF
##732CB31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#664E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732cb3;
/* rgb */ color: rgb(115, 44, 179);
/* oklch */ color: oklch(46.8% 0.200 303.2);
Tailwind
colors: {
  custom: {
    50: '#a16dcb',
    500: '#732cb3',
    950: '#000000',
  },
}
SCSS
$custom: #732cb3;
$custom-light: #a16dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb3",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 271.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.19986,
    "h": 303.2
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#732CB3
secondary
#9BC774
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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