#732197#732197

#732197 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.184 H 312.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#732197
RGBrgb(115, 33, 151)
HSLhsl(282, 64%, 36%)
HSVhsv(282, 78%, 59%)
CMYKcmyk(23.8%, 78.1%, 0%, 40.8%)
CIE-LABlab(31.73, 53.18, -47.73)
CIE-LCHlch(31.73, 71.46, 318.09°)
OKLaboklab(43.54% 0.1253 -0.135)
OKLCHoklch(43.54% 0.184 312.9)
XYZxyz(13.1990, 6.9673, 29.9217)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732197 #459721
analogous
#382197 #732197 #972180
triadic
#732197 #977321 #219773
tetradic
#732197 #973821 #459721 #218097
square
#732197 #973821 #459721 #218097
split-complementary
#732197 #809721 #219738
monochromatic
#260B33 #4D1665 #732197 #992CC9 #B358DA

Accessibility & contrast

On white

8.77
#732197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#732197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732197
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732197#FFFFFF#000000##FFFFFF
##7321971.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#6F3D5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #732197;
/* rgb */ color: rgb(115, 33, 151);
/* oklch */ color: oklch(43.5% 0.184 312.9);
Tailwind
colors: {
  custom: {
    50: '#a066b6',
    500: '#732197',
    950: '#000000',
  },
}
SCSS
$custom: #732197;
$custom-light: #a066b6;
$custom-dark: #000000;
JSON
{
  "hex": "#732197",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 281.695,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.18422,
    "h": 312.9
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#732197
secondary
#75BE55
accent
#E74173
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732197

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

Preview Lab → · Contrast checker → · Palette generator →

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