#732182#732182

#732182 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.165 H 321.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#732182
RGBrgb(115, 33, 130)
HSLhsl(291, 60%, 32%)
HSVhsv(291, 75%, 51%)
CMYKcmyk(11.5%, 74.6%, 0%, 49%)
CIE-LABlab(30.27, 48.90, -37.10)
CIE-LCHlch(30.27, 61.38, 322.81°)
OKLaboklab(42.03% 0.1281 -0.1038)
OKLCHoklch(42.03% 0.165 321)
XYZxyz(11.6429, 6.3449, 21.7262)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732182 #308221
analogous
#432182 #732182 #822161
triadic
#732182 #827321 #218273
tetradic
#732182 #824321 #308221 #216182
square
#732182 #824321 #308221 #216182
split-complementary
#732182 #618221 #218243
monochromatic
#1D0820 #481551 #732182 #9E2DB3 #BD4CD2

Accessibility & contrast

On white

9.26
#732182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#732182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732182
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732182#FFFFFF#000000##FFFFFF
##7321821.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#74334F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #732182;
/* rgb */ color: rgb(115, 33, 130);
/* oklch */ color: oklch(42.0% 0.165 321.0);
Tailwind
colors: {
  custom: {
    50: '#9f65a7',
    500: '#732182',
    950: '#000000',
  },
}
SCSS
$custom: #732182;
$custom-light: #9f65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#732182",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 290.722,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.16489,
    "h": 321
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#732182
secondary
#5BB44A
accent
#E3455D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #732182

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

Preview Lab → · Contrast checker → · Palette generator →

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