#732DB3#732DB3

#732DB3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.199 H 303.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#732DB3
RGBrgb(115, 45, 179)
HSLhsl(271, 60%, 44%)
HSVhsv(271, 75%, 70%)
CMYKcmyk(35.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.55, 54.70, -58.40)
CIE-LCHlch(35.55, 80.02, 313.13°)
OKLaboklab(46.9% 0.1086 -0.1664)
OKLCHoklch(46.9% 0.199 303.1)
XYZxyz(16.1434, 8.7763, 43.4826)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB3 #6DB32D
analogous
#302DB3 #732DB3 #B32DB0
triadic
#732DB3 #B3732D #2DB373
tetradic
#732DB3 #B3302D #6DB32D #2DB0B3
square
#732DB3 #B3302D #6DB32D #2DB0B3
split-complementary
#732DB3 #B0B32D #2DB330
monochromatic
#341451 #542182 #732DB3 #924BD2 #AF7CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #732db3;
/* rgb */ color: rgb(115, 45, 179);
/* oklch */ color: oklch(46.9% 0.199 303.1);
Tailwind
colors: {
  custom: {
    50: '#a16dcb',
    500: '#732db3',
    950: '#000000',
  },
}
SCSS
$custom: #732db3;
$custom-light: #a16dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#732db3",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 271.343,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.19877,
    "h": 303.1
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#732DB3
secondary
#9CC775
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #732DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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