#532398#532398

#532398 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.176 H 295.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#532398
RGBrgb(83, 35, 152)
HSLhsl(265, 63%, 37%)
HSVhsv(265, 77%, 60%)
CMYKcmyk(45.4%, 77%, 0%, 40.4%)
CIE-LABlab(27.59, 46.83, -55.28)
CIE-LCHlch(27.59, 72.44, 310.27°)
OKLaboklab(39.7% 0.0769 -0.1583)
OKLCHoklch(39.7% 0.176 295.9)
XYZxyz(9.8343, 5.3078, 30.2060)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532398 #689823
analogous
#232E98 #532398 #8E2398
triadic
#532398 #985323 #239853
tetradic
#532398 #98232E #689823 #23988E
square
#532398 #98232E #689823 #23988E
split-complementary
#532398 #988E23 #2E9823
monochromatic
#1D0C35 #381866 #532398 #6E2ECA #8F5CD9

Accessibility & contrast

On white

10.19
#532398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#532398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532398
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532398#FFFFFF#000000##FFFFFF
##5323981.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#40425C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532398;
/* rgb */ color: rgb(83, 35, 152);
/* oklch */ color: oklch(39.7% 0.176 295.9);
Tailwind
colors: {
  custom: {
    50: '#8a63b7',
    500: '#532398',
    950: '#000000',
  },
}
SCSS
$custom: #532398;
$custom-light: #8a63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532398",
  "rgb": {
    "r": 83,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 264.615,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.17604,
    "h": 295.9
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#532398
secondary
#94BE59
accent
#E642A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #532398

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

Preview Lab → · Contrast checker → · Palette generator →

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