#532498#532498

#532498 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.175 H 295.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#532498
RGBrgb(83, 36, 152)
HSLhsl(264, 62%, 37%)
HSVhsv(264, 76%, 60%)
CMYKcmyk(45.4%, 76.3%, 0%, 40.4%)
CIE-LABlab(27.76, 46.36, -55.01)
CIE-LCHlch(27.76, 71.94, 310.12°)
OKLaboklab(39.81% 0.0761 -0.1576)
OKLCHoklch(39.81% 0.175 295.8)
XYZxyz(9.8641, 5.3675, 30.2160)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532498 #699824
analogous
#242F98 #532498 #8D2498
triadic
#532498 #985324 #249853
tetradic
#532498 #98242F #699824 #24988D
square
#532498 #98242F #699824 #24988D
split-complementary
#532498 #988D24 #2F9824
monochromatic
#1D0D35 #381867 #532498 #6E30C9 #905ED9

Accessibility & contrast

On white

10.13
#532498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#532498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532498
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532498#FFFFFF#000000##FFFFFF
##5324981.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#40435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532498;
/* rgb */ color: rgb(83, 36, 152);
/* oklch */ color: oklch(39.8% 0.175 295.8);
Tailwind
colors: {
  custom: {
    50: '#8a64b7',
    500: '#532498',
    950: '#000000',
  },
}
SCSS
$custom: #532498;
$custom-light: #8a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532498",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 264.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.17497,
    "h": 295.8
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#532498
secondary
#95BE5A
accent
#E543A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #532498

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

Preview Lab → · Contrast checker → · Palette generator →

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