#732D9E#732D9E

#732D9E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.177 H 309.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#732D9E
RGBrgb(115, 45, 158)
HSLhsl(277, 56%, 40%)
HSVhsv(277, 72%, 62%)
CMYKcmyk(27.2%, 71.5%, 0%, 38%)
CIE-LABlab(33.96, 49.82, -48.38)
CIE-LCHlch(33.96, 69.45, 315.84°)
OKLaboklab(45.28% 0.1124 -0.137)
OKLCHoklch(45.28% 0.177 309.4)
XYZxyz(14.1789, 7.9905, 33.1365)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732D9E #589E2D
analogous
#3A2D9E #732D9E #9E2D91
triadic
#732D9E #9E732D #2D9E73
tetradic
#732D9E #9E3A2D #589E2D #2D919E
square
#732D9E #9E3A2D #589E2D #2D919E
split-complementary
#732D9E #919E2D #2D9E3A
monochromatic
#2E123F #501F6E #732D9E #9440C9 #AF6FD6

Accessibility & contrast

On white

8.08
#732D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#732D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732D9E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732D9E#FFFFFF#000000##FFFFFF
##732D9E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#6D4662
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #732d9e;
/* rgb */ color: rgb(115, 45, 158);
/* oklch */ color: oklch(45.3% 0.177 309.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cbb',
    500: '#732d9e',
    950: '#000000',
  },
}
SCSS
$custom: #732d9e;
$custom-light: #9f6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#732d9e",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 277.168,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.17722,
    "h": 309.4
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#732D9E
secondary
#89BD69
accent
#DF4982
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #732D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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