#732278#732278

#732278 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.155 H 325.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#732278
RGBrgb(115, 34, 120)
HSLhsl(297, 56%, 30%)
HSVhsv(297, 72%, 47%)
CMYKcmyk(4.2%, 71.7%, 0%, 52.9%)
CIE-LABlab(29.78, 46.58, -31.59)
CIE-LCHlch(29.78, 56.28, 325.86°)
OKLaboklab(41.48% 0.1274 -0.0878)
OKLCHoklch(41.48% 0.155 325.4)
XYZxyz(11.0322, 6.1457, 18.3708)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732278 #277822
analogous
#482278 #732278 #782252
triadic
#732278 #787322 #227873
tetradic
#732278 #784822 #277822 #225278
square
#732278 #784822 #277822 #225278
split-complementary
#732278 #527822 #227848
monochromatic
#180719 #451448 #732278 #A130A8 #C449CB

Accessibility & contrast

On white

9.42
#732278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#732278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732278
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732278#FFFFFF#000000##FFFFFF
##7322781.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#76304A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #732278;
/* rgb */ color: rgb(115, 34, 120);
/* oklch */ color: oklch(41.5% 0.155 325.4);
Tailwind
colors: {
  custom: {
    50: '#9e659f',
    500: '#732278',
    950: '#000000',
  },
}
SCSS
$custom: #732278;
$custom-light: #9e659f;
$custom-dark: #000000;
JSON
{
  "hex": "#732278",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 296.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.15469,
    "h": 325.4
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#732278
secondary
#50AB4B
accent
#DF4951
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #732278

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

Preview Lab → · Contrast checker → · Palette generator →

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