#732398#732398

#732398 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.183 H 312.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#732398
RGBrgb(115, 35, 152)
HSLhsl(281, 63%, 37%)
HSVhsv(281, 77%, 60%)
CMYKcmyk(24.3%, 77%, 0%, 40.4%)
CIE-LABlab(32.07, 52.65, -47.80)
CIE-LCHlch(32.07, 71.11, 317.76°)
OKLaboklab(43.79% 0.1233 -0.1352)
OKLCHoklch(43.79% 0.183 312.4)
XYZxyz(13.3377, 7.1143, 30.3703)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732398 #489823
analogous
#392398 #732398 #982383
triadic
#732398 #987323 #239873
tetradic
#732398 #983923 #489823 #238398
square
#732398 #983923 #489823 #238398
split-complementary
#732398 #839823 #239839
monochromatic
#280C35 #4D1866 #732398 #992ECA #B25CD9

Accessibility & contrast

On white

8.67
#732398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#732398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732398
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732398#FFFFFF#000000##FFFFFF
##7323981.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#6F3E5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #732398;
/* rgb */ color: rgb(115, 35, 152);
/* oklch */ color: oklch(43.8% 0.183 312.4);
Tailwind
colors: {
  custom: {
    50: '#9f67b7',
    500: '#732398',
    950: '#000000',
  },
}
SCSS
$custom: #732398;
$custom-light: #9f67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#732398",
  "rgb": {
    "r": 115,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 281.026,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.18304,
    "h": 312.4
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#732398
secondary
#79BE59
accent
#E64276
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732398

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

Preview Lab → · Contrast checker → · Palette generator →

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