#732DB5#732DB5

#732DB5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.201 H 302.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#732DB5
RGBrgb(115, 45, 181)
HSLhsl(271, 60%, 44%)
HSVhsv(271, 75%, 71%)
CMYKcmyk(36.5%, 75.1%, 0%, 29%)
CIE-LABlab(35.71, 55.18, -59.33)
CIE-LCHlch(35.71, 81.02, 312.92°)
OKLaboklab(47.06% 0.1082 -0.1692)
OKLCHoklch(47.06% 0.201 302.6)
XYZxyz(16.3471, 8.8578, 44.5556)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB5 #6FB52D
analogous
#2F2DB5 #732DB5 #B52DB3
triadic
#732DB5 #B5732D #2DB573
tetradic
#732DB5 #B52F2D #6FB52D #2DB3B5
square
#732DB5 #B52F2D #6FB52D #2DB3B5
split-complementary
#732DB5 #B3B52D #2DB52F
monochromatic
#351553 #542184 #732DB5 #924DD3 #B07EDF

Accessibility & contrast

On white

7.58
#732DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#732DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB5#FFFFFF#000000##FFFFFF
##732DB51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732db5;
/* rgb */ color: rgb(115, 45, 181);
/* oklch */ color: oklch(47.1% 0.201 302.6);
Tailwind
colors: {
  custom: {
    50: '#a16dcc',
    500: '#732db5',
    950: '#000000',
  },
}
SCSS
$custom: #732db5;
$custom-light: #a16dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#732db5",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 270.882,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.20082,
    "h": 302.6
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#732DB5
secondary
#9EC776
accent
#E34492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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