#732887#732887

#732887 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 318.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#732887
RGBrgb(115, 40, 135)
HSLhsl(287, 54%, 34%)
HSVhsv(287, 70%, 53%)
CMYKcmyk(14.8%, 70.4%, 0%, 47.1%)
CIE-LABlab(31.61, 47.03, -38.07)
CIE-LCHlch(31.61, 60.51, 321.01°)
OKLaboklab(43.09% 0.1202 -0.1067)
OKLCHoklch(43.09% 0.161 318.4)
XYZxyz(12.2016, 6.9122, 23.6085)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732887 #3C8728
analogous
#432887 #732887 #87286C
triadic
#732887 #877328 #288773
tetradic
#732887 #874328 #3C8728 #286C87
square
#732887 #874328 #3C8728 #286C87
split-complementary
#732887 #6C8728 #288743
monochromatic
#230C29 #4B1A58 #732887 #9B36B6 #B65BCE

Accessibility & contrast

On white

8.81
#732887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#732887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732887
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732887#FFFFFF#000000##FFFFFF
##7328871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#733A54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #732887;
/* rgb */ color: rgb(115, 40, 135);
/* oklch */ color: oklch(43.1% 0.161 318.4);
Tailwind
colors: {
  custom: {
    50: '#9e69aa',
    500: '#732887',
    950: '#000000',
  },
}
SCSS
$custom: #732887;
$custom-light: #9e69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#732887",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 287.368,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.16072,
    "h": 318.4
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#732887
secondary
#6BB457
accent
#DE4A69
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732887

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

Preview Lab → · Contrast checker → · Palette generator →

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