#732298#732298

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

Color values

HEX#732298
RGBrgb(115, 34, 152)
HSLhsl(281, 63%, 36%)
HSVhsv(281, 78%, 60%)
CMYKcmyk(24.3%, 77.6%, 0%, 40.4%)
CIE-LABlab(31.93, 53.02, -48.02)
CIE-LCHlch(31.93, 71.53, 317.84°)
OKLaboklab(43.7% 0.1243 -0.1358)
OKLCHoklch(43.7% 0.184 312.4)
XYZxyz(13.3087, 7.0563, 30.3606)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732298 #479822
analogous
#382298 #732298 #982282
triadic
#732298 #987322 #229873
tetradic
#732298 #983822 #479822 #228298
square
#732298 #983822 #479822 #228298
split-complementary
#732298 #829822 #229838
monochromatic
#270C34 #4D1766 #732298 #992DCA #B25ADA

Accessibility & contrast

On white

8.71
#732298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#732298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732298
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732298#FFFFFF#000000##FFFFFF
##7322981.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732298;
/* rgb */ color: rgb(115, 34, 152);
/* oklch */ color: oklch(43.7% 0.184 312.4);
Tailwind
colors: {
  custom: {
    50: '#a067b7',
    500: '#732298',
    950: '#000000',
  },
}
SCSS
$custom: #732298;
$custom-light: #a067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#732298",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 281.186,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.1841,
    "h": 312.4
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#732298
secondary
#78BE57
accent
#E64175
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732298

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

Preview Lab → · Contrast checker → · Palette generator →

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