#732C97#732C97

#732C97 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.171 H 311.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#732C97
RGBrgb(115, 44, 151)
HSLhsl(280, 55%, 38%)
HSVhsv(280, 71%, 59%)
CMYKcmyk(23.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(33.31, 48.70, -45.18)
CIE-LCHlch(33.31, 66.43, 317.14°)
OKLaboklab(44.65% 0.1144 -0.1276)
OKLCHoklch(44.65% 0.171 311.9)
XYZxyz(13.5558, 7.6809, 30.0406)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732C97 #50972C
analogous
#3D2C97 #732C97 #972C85
triadic
#732C97 #97732C #2C9773
tetradic
#732C97 #973D2C #50972C #2C8597
square
#732C97 #973D2C #50972C #2C8597
split-complementary
#732C97 #85972C #2C973D
monochromatic
#2B1038 #4F1E68 #732C97 #973AC6 #B06AD4

Accessibility & contrast

On white

8.28
#732C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#732C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732C97
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732C97#FFFFFF#000000##FFFFFF
##732C971.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#6F435E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #732c97;
/* rgb */ color: rgb(115, 44, 151);
/* oklch */ color: oklch(44.7% 0.171 311.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bb6',
    500: '#732c97',
    950: '#000000',
  },
}
SCSS
$custom: #732c97;
$custom-light: #9f6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#732c97",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 279.813,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44653,
    "c": 0.17135,
    "h": 311.9
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#732C97
secondary
#81BA65
accent
#DE4A7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732C97

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

Preview Lab → · Contrast checker → · Palette generator →

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