#732C8E#732C8E

#732C8E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.162 H 315.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#732C8E
RGBrgb(115, 44, 142)
HSLhsl(283, 53%, 36%)
HSVhsv(283, 69%, 56%)
CMYKcmyk(19%, 69%, 0%, 44.3%)
CIE-LABlab(32.70, 46.72, -40.65)
CIE-LCHlch(32.70, 61.93, 318.98°)
OKLaboklab(44.02% 0.1151 -0.1143)
OKLCHoklch(44.02% 0.162 315.2)
XYZxyz(12.8526, 7.3996, 26.3372)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732C8E #478E2C
analogous
#422C8E #732C8E #8E2C78
triadic
#732C8E #8E732C #2C8E73
tetradic
#732C8E #8E422C #478E2C #2C788E
square
#732C8E #8E422C #478E2C #2C788E
split-complementary
#732C8E #788E2C #2C8E42
monochromatic
#270F31 #4D1E5F #732C8E #993ABD #B265CF

Accessibility & contrast

On white

8.47
#732C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#732C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732C8E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732C8E#FFFFFF#000000##FFFFFF
##732C8E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#713F59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #732c8e;
/* rgb */ color: rgb(115, 44, 142);
/* oklch */ color: oklch(44.0% 0.162 315.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bb0',
    500: '#732c8e',
    950: '#000000',
  },
}
SCSS
$custom: #732c8e;
$custom-light: #9e6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#732c8e",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 283.469,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.16224,
    "h": 315.2
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#732C8E
secondary
#78B660
accent
#DC4C73
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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