#732281#732281

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

Color values

HEX#732281
RGBrgb(115, 34, 129)
HSLhsl(291, 58%, 32%)
HSVhsv(291, 74%, 51%)
CMYKcmyk(10.9%, 73.6%, 0%, 49.4%)
CIE-LABlab(30.34, 48.31, -36.36)
CIE-LCHlch(30.34, 60.46, 323.03°)
OKLaboklab(42.06% 0.1271 -0.1017)
OKLCHoklch(42.06% 0.163 321.3)
XYZxyz(11.6043, 6.3745, 21.3838)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732281 #308122
analogous
#442281 #732281 #812260
triadic
#732281 #817322 #228173
tetradic
#732281 #814422 #308122 #226081
square
#732281 #814422 #308122 #226081
split-complementary
#732281 #608122 #228144
monochromatic
#1D0820 #481551 #732281 #9E2FB1 #BD4DD0

Accessibility & contrast

On white

9.23
#732281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732281
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732281#FFFFFF#000000##FFFFFF
##7322811.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#74344F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #732281;
/* rgb */ color: rgb(115, 34, 129);
/* oklch */ color: oklch(42.1% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#9e65a6',
    500: '#732281',
    950: '#000000',
  },
}
SCSS
$custom: #732281;
$custom-light: #9e65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#732281",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 291.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42061,
    "c": 0.16278,
    "h": 321.3
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#732281
secondary
#5BB34B
accent
#E1465D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #732281

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

Preview Lab → · Contrast checker → · Palette generator →

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