#732688#732688

#732688 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.164 H 318.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#732688
RGBrgb(115, 38, 136)
HSLhsl(287, 56%, 34%)
HSVhsv(287, 72%, 53%)
CMYKcmyk(15.4%, 72.1%, 0%, 46.7%)
CIE-LABlab(31.37, 48.09, -39.07)
CIE-LCHlch(31.37, 61.96, 320.91°)
OKLaboklab(42.94% 0.1223 -0.1096)
OKLCHoklch(42.94% 0.164 318.1)
XYZxyz(12.2067, 6.8092, 23.9591)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732688 #3B8826
analogous
#422688 #732688 #88266C
triadic
#732688 #887326 #268873
tetradic
#732688 #884226 #3B8826 #266C88
square
#732688 #884226 #3B8826 #266C88
split-complementary
#732688 #6C8826 #268842
monochromatic
#220B28 #4B1958 #732688 #9B33B8 #B758D0

Accessibility & contrast

On white

8.89
#732688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#732688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732688
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732688#FFFFFF#000000##FFFFFF
##7326881.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#723954
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #732688;
/* rgb */ color: rgb(115, 38, 136);
/* oklch */ color: oklch(42.9% 0.164 318.1);
Tailwind
colors: {
  custom: {
    50: '#9f68ab',
    500: '#732688',
    950: '#000000',
  },
}
SCSS
$custom: #732688;
$custom-light: #9f68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#732688",
  "rgb": {
    "r": 115,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 287.143,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.16429,
    "h": 318.1
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#732688
secondary
#69B555
accent
#E04869
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #732688

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

Preview Lab → · Contrast checker → · Palette generator →

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