#732EB3#732EB3

#732EB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.198 H 303.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#732EB3
RGBrgb(115, 46, 179)
HSLhsl(271, 59%, 44%)
HSVhsv(271, 74%, 70%)
CMYKcmyk(35.8%, 74.3%, 0%, 29.8%)
CIE-LABlab(35.70, 54.27, -58.16)
CIE-LCHlch(35.70, 79.55, 313.02°)
OKLaboklab(47.01% 0.1077 -0.1657)
OKLCHoklch(47.01% 0.198 303)
XYZxyz(16.1820, 8.8535, 43.4955)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB3 #6EB32E
analogous
#312EB3 #732EB3 #B32EB1
triadic
#732EB3 #B3732E #2EB373
tetradic
#732EB3 #B3312E #6EB32E #2EB1B3
square
#732EB3 #B3312E #6EB32E #2EB1B3
split-complementary
#732EB3 #B1B32E #2EB331
monochromatic
#341552 #542182 #732EB3 #924DD1 #B07EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732EB3#FFFFFF#000000##FFFFFF
##732EB31.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)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#664F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #732eb3;
/* rgb */ color: rgb(115, 46, 179);
/* oklch */ color: oklch(47.0% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#a16ecb',
    500: '#732eb3',
    950: '#000000',
  },
}
SCSS
$custom: #732eb3;
$custom-light: #a16ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb3",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 271.128,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.19766,
    "h": 303
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#732EB3
secondary
#9DC676
accent
#E24691
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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