#732098#732098

#732098 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.186 H 312.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#732098
RGBrgb(115, 32, 152)
HSLhsl(282, 65%, 36%)
HSVhsv(282, 79%, 60%)
CMYKcmyk(24.3%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.68, 53.75, -48.42)
CIE-LCHlch(31.68, 72.35, 317.98°)
OKLaboklab(43.52% 0.126 -0.137)
OKLCHoklch(43.52% 0.186 312.6)
XYZxyz(13.2532, 6.9453, 30.3421)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732098 #459820
analogous
#372098 #732098 #982081
triadic
#732098 #987320 #209873
tetradic
#732098 #983720 #459820 #208198
square
#732098 #983720 #459820 #208198
split-complementary
#732098 #819820 #209837
monochromatic
#260B33 #4D1565 #732098 #992BCB #B357DC

Accessibility & contrast

On white

8.79
#732098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#732098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732098
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732098#FFFFFF#000000##FFFFFF
##7320981.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#0C4C96
Tritanopia (blue-blind)
#6F3D5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #732098;
/* rgb */ color: rgb(115, 32, 152);
/* oklch */ color: oklch(43.5% 0.186 312.6);
Tailwind
colors: {
  custom: {
    50: '#a066b7',
    500: '#732098',
    950: '#000000',
  },
}
SCSS
$custom: #732098;
$custom-light: #a066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#732098",
  "rgb": {
    "r": 115,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 281.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.18618,
    "h": 312.6
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#732098
secondary
#75BF54
accent
#E84074
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732098

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

Preview Lab → · Contrast checker → · Palette generator →

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