#732EB9#732EB9

#732EB9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.204 H 301.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#732EB9
RGBrgb(115, 46, 185)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.8%, 75.1%, 0%, 27.5%)
CIE-LABlab(36.18, 55.71, -60.93)
CIE-LCHlch(36.18, 82.56, 312.44°)
OKLaboklab(47.49% 0.1064 -0.1739)
OKLCHoklch(47.49% 0.204 301.5)
XYZxyz(16.8021, 9.1015, 46.7611)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EB9 #74B92E
analogous
#2E2FB9 #732EB9 #B82EB9
triadic
#732EB9 #B9732E #2EB973
tetradic
#732EB9 #B92E2F #74B92E #2EB9B8
square
#732EB9 #B92E2F #74B92E #2EB9B8
split-complementary
#732EB9 #B9B82E #2FB92E
monochromatic
#361657 #552288 #732EB9 #9251D4 #B082E0

Accessibility & contrast

On white

7.45
#732EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#732EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EB9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EB9#FFFFFF#000000##FFFFFF
##732EB91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732eb9;
/* rgb */ color: rgb(115, 46, 185);
/* oklch */ color: oklch(47.5% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#a16ecf',
    500: '#732eb9',
    950: '#000000',
  },
}
SCSS
$custom: #732eb9;
$custom-light: #a16ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#732eb9",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 269.784,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47492,
    "c": 0.20385,
    "h": 301.5
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#732EB9
secondary
#A2C97A
accent
#E34494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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