#732CB5#732CB5

#732CB5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.202 H 302.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#732CB5
RGBrgb(115, 44, 181)
HSLhsl(271, 61%, 44%)
HSVhsv(271, 76%, 71%)
CMYKcmyk(36.5%, 75.7%, 0%, 29%)
CIE-LABlab(35.56, 55.60, -59.57)
CIE-LCHlch(35.56, 81.48, 313.02°)
OKLaboklab(46.96% 0.1091 -0.1699)
OKLCHoklch(46.96% 0.202 302.7)
XYZxyz(16.3094, 8.7824, 44.5430)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732CB5 #6EB52C
analogous
#2F2CB5 #732CB5 #B52CB3
triadic
#732CB5 #B5732C #2CB573
tetradic
#732CB5 #B52F2C #6EB52C #2CB3B5
square
#732CB5 #B52F2C #6EB52C #2CB3B5
split-complementary
#732CB5 #B3B52C #2CB52F
monochromatic
#341453 #542084 #732CB5 #924BD3 #B07CDF

Accessibility & contrast

On white

7.62
#732CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#732CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732CB5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732CB5#FFFFFF#000000##FFFFFF
##732CB51.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#654F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732cb5;
/* rgb */ color: rgb(115, 44, 181);
/* oklch */ color: oklch(47.0% 0.202 302.7);
Tailwind
colors: {
  custom: {
    50: '#a16dcc',
    500: '#732cb5',
    950: '#000000',
  },
}
SCSS
$custom: #732cb5;
$custom-light: #a16dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#732cb5",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 271.095,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46957,
    "c": 0.20189,
    "h": 302.7
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#732CB5
secondary
#9DC875
accent
#E44491
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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