#732DB9#732DB9

#732DB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.205 H 301.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#732DB9
RGBrgb(115, 45, 185)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(37.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(36.03, 56.13, -61.17)
CIE-LCHlch(36.03, 83.02, 312.54°)
OKLaboklab(47.39% 0.1073 -0.1746)
OKLCHoklch(47.39% 0.205 301.6)
XYZxyz(16.7634, 9.0243, 46.7482)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DB9 #73B92D
analogous
#2D2DB9 #732DB9 #B92DB9
triadic
#732DB9 #B9732D #2DB973
tetradic
#732DB9 #B92D2D #73B92D #2DB9B9
square
#732DB9 #B92D2D #73B92D #2DB9B9
split-complementary
#732DB9 #B9B92D #2DB92D
monochromatic
#361557 #542188 #732DB9 #924FD4 #B080E0

Accessibility & contrast

On white

7.49
#732DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#732DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DB9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DB9#FFFFFF#000000##FFFFFF
##732DB91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#645171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732db9;
/* rgb */ color: rgb(115, 45, 185);
/* oklch */ color: oklch(47.4% 0.205 301.6);
Tailwind
colors: {
  custom: {
    50: '#a26dcf',
    500: '#732db9',
    950: '#000000',
  },
}
SCSS
$custom: #732db9;
$custom-light: #a26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#732db9",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 270,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.20491,
    "h": 301.6
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#732DB9
secondary
#A1C979
accent
#E44494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #732DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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