#732178#732178

#732178 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.156 H 325.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#732178
RGBrgb(115, 33, 120)
HSLhsl(297, 57%, 30%)
HSVhsv(297, 73%, 47%)
CMYKcmyk(4.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(29.64, 46.98, -31.81)
CIE-LCHlch(29.64, 56.74, 325.90°)
OKLaboklab(41.38% 0.1285 -0.0884)
OKLCHoklch(41.38% 0.156 325.5)
XYZxyz(11.0040, 6.0893, 18.3614)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732178 #267821
analogous
#482178 #732178 #782151
triadic
#732178 #787321 #217873
tetradic
#732178 #784821 #267821 #215178
square
#732178 #784821 #267821 #215178
split-complementary
#732178 #517821 #217848
monochromatic
#170718 #451448 #732178 #A12EA8 #C547CC

Accessibility & contrast

On white

9.47
#732178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#732178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732178
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732178#FFFFFF#000000##FFFFFF
##7321781.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F7A
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#762F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #732178;
/* rgb */ color: rgb(115, 33, 120);
/* oklch */ color: oklch(41.4% 0.156 325.5);
Tailwind
colors: {
  custom: {
    50: '#9e659f',
    500: '#732178',
    950: '#000000',
  },
}
SCSS
$custom: #732178;
$custom-light: #9e659f;
$custom-dark: #000000;
JSON
{
  "hex": "#732178",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 296.552,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.15596,
    "h": 325.5
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#732178
secondary
#4FAB4A
accent
#E04850
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732178

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

Preview Lab → · Contrast checker → · Palette generator →

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