#732198#732198

#732198 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.185 H 312.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#732198
RGBrgb(115, 33, 152)
HSLhsl(281, 64%, 36%)
HSVhsv(281, 78%, 60%)
CMYKcmyk(24.3%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.81, 53.39, -48.22)
CIE-LCHlch(31.81, 71.95, 317.91°)
OKLaboklab(43.61% 0.1252 -0.1364)
OKLCHoklch(43.61% 0.185 312.5)
XYZxyz(13.2806, 6.9999, 30.3512)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732198 #469821
analogous
#382198 #732198 #982182
triadic
#732198 #987321 #219873
tetradic
#732198 #983821 #469821 #218298
square
#732198 #983821 #469821 #218298
split-complementary
#732198 #829821 #219838
monochromatic
#270B33 #4D1666 #732198 #992CCA #B259DB

Accessibility & contrast

On white

8.75
#732198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#732198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732198
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732198#FFFFFF#000000##FFFFFF
##7321981.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732198;
/* rgb */ color: rgb(115, 33, 152);
/* oklch */ color: oklch(43.6% 0.185 312.5);
Tailwind
colors: {
  custom: {
    50: '#a066b7',
    500: '#732198',
    950: '#000000',
  },
}
SCSS
$custom: #732198;
$custom-light: #a066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#732198",
  "rgb": {
    "r": 115,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 281.345,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.18515,
    "h": 312.5
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#732198
secondary
#77BF56
accent
#E74074
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #732198

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

Preview Lab → · Contrast checker → · Palette generator →

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