#732997#732997

#732997 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.175 H 312.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#732997
RGBrgb(115, 41, 151)
HSLhsl(280, 57%, 38%)
HSVhsv(280, 73%, 59%)
CMYKcmyk(23.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.84, 50.01, -45.94)
CIE-LCHlch(32.84, 67.90, 317.43°)
OKLaboklab(44.32% 0.1176 -0.1298)
OKLCHoklch(44.32% 0.175 312.2)
XYZxyz(13.4481, 7.4654, 30.0047)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732997 #4D9729
analogous
#3C2997 #732997 #972984
triadic
#732997 #977329 #299773
tetradic
#732997 #973C29 #4D9729 #298497
square
#732997 #973C29 #4D9729 #298497
split-complementary
#732997 #849729 #29973C
monochromatic
#2A0F37 #4E1C67 #732997 #9836C7 #B165D5

Accessibility & contrast

On white

8.42
#732997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#732997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732997
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732997#FFFFFF#000000##FFFFFF
##7329971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#6F415D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #732997;
/* rgb */ color: rgb(115, 41, 151);
/* oklch */ color: oklch(44.3% 0.175 312.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ab6',
    500: '#732997',
    950: '#000000',
  },
}
SCSS
$custom: #732997;
$custom-light: #9f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#732997",
  "rgb": {
    "r": 115,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 280.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44322,
    "c": 0.17512,
    "h": 312.2
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#732997
secondary
#7EBB61
accent
#E14779
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732997

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

Preview Lab → · Contrast checker → · Palette generator →

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