#732282#732282

#732282 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.164 H 320.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#732282
RGBrgb(115, 34, 130)
HSLhsl(291, 59%, 32%)
HSVhsv(291, 74%, 51%)
CMYKcmyk(11.5%, 73.8%, 0%, 49%)
CIE-LABlab(30.40, 48.51, -36.88)
CIE-LCHlch(30.40, 60.94, 322.75°)
OKLaboklab(42.13% 0.1271 -0.1032)
OKLCHoklch(42.13% 0.164 320.9)
XYZxyz(11.6711, 6.4012, 21.7356)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732282 #318222
analogous
#432282 #732282 #822261
triadic
#732282 #827322 #228273
tetradic
#732282 #824322 #318222 #226182
square
#732282 #824322 #318222 #226182
split-complementary
#732282 #618222 #228243
monochromatic
#1D0921 #481551 #732282 #9E2FB3 #BC4ED1

Accessibility & contrast

On white

9.21
#732282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#732282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732282
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732282#FFFFFF#000000##FFFFFF
##7322821.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2D4A80
Tritanopia (blue-blind)
#743450
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732282;
/* rgb */ color: rgb(115, 34, 130);
/* oklch */ color: oklch(42.1% 0.164 320.9);
Tailwind
colors: {
  custom: {
    50: '#9e66a7',
    500: '#732282',
    950: '#000000',
  },
}
SCSS
$custom: #732282;
$custom-light: #9e66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#732282",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 290.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.16368,
    "h": 320.9
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#732282
secondary
#5CB44C
accent
#E2465E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #732282

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

Preview Lab → · Contrast checker → · Palette generator →

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