#732E97#732E97

#732E97 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.169 H 311.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#732E97
RGBrgb(115, 46, 151)
HSLhsl(279, 53%, 39%)
HSVhsv(279, 70%, 59%)
CMYKcmyk(23.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.63, 47.79, -44.66)
CIE-LCHlch(33.63, 65.41, 316.94°)
OKLaboklab(44.89% 0.1121 -0.1261)
OKLCHoklch(44.89% 0.169 311.6)
XYZxyz(13.6321, 7.8335, 30.0661)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732E97 #52972E
analogous
#3F2E97 #732E97 #972E86
triadic
#732E97 #97732E #2E9773
tetradic
#732E97 #973F2E #52972E #2E8697
square
#732E97 #973F2E #52972E #2E8697
split-complementary
#732E97 #86972E #2E973F
monochromatic
#2C1139 #4F2068 #732E97 #963EC4 #B06DD2

Accessibility & contrast

On white

8.18
#732E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#732E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732E97
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732E97#FFFFFF#000000##FFFFFF
##732E971.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#6F445F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #732e97;
/* rgb */ color: rgb(115, 46, 151);
/* oklch */ color: oklch(44.9% 0.169 311.6);
Tailwind
colors: {
  custom: {
    50: '#9f6cb6',
    500: '#732e97',
    950: '#000000',
  },
}
SCSS
$custom: #732e97;
$custom-light: #9f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#732e97",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 279.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.16872,
    "h": 311.6
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#732E97
secondary
#83BA67
accent
#DD4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732E97

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

Preview Lab → · Contrast checker → · Palette generator →

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