#732397#732397

#732397 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.182 H 312.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#732397
RGBrgb(115, 35, 151)
HSLhsl(281, 62%, 36%)
HSVhsv(281, 77%, 59%)
CMYKcmyk(23.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(31.99, 52.43, -47.31)
CIE-LCHlch(31.99, 70.62, 317.94°)
OKLaboklab(43.72% 0.1235 -0.1338)
OKLCHoklch(43.72% 0.182 312.7)
XYZxyz(13.2562, 7.0817, 29.9408)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732397 #479723
analogous
#392397 #732397 #972381
triadic
#732397 #977323 #239773
tetradic
#732397 #973923 #479723 #238197
square
#732397 #973923 #479723 #238197
split-complementary
#732397 #819723 #239739
monochromatic
#270C34 #4D1765 #732397 #992FC9 #B25BD9

Accessibility & contrast

On white

8.69
#732397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#732397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732397
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732397#FFFFFF#000000##FFFFFF
##7323971.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#6F3E5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #732397;
/* rgb */ color: rgb(115, 35, 151);
/* oklch */ color: oklch(43.7% 0.182 312.7);
Tailwind
colors: {
  custom: {
    50: '#9f67b6',
    500: '#732397',
    950: '#000000',
  },
}
SCSS
$custom: #732397;
$custom-light: #9f67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#732397",
  "rgb": {
    "r": 115,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 281.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.18208,
    "h": 312.7
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#732397
secondary
#78BE58
accent
#E54275
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732397

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

Preview Lab → · Contrast checker → · Palette generator →

#732397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva