#532883#532883

#532883 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.146 H 301.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#532883
RGBrgb(83, 40, 131)
HSLhsl(268, 53%, 34%)
HSVhsv(268, 69%, 51%)
CMYKcmyk(36.6%, 69.5%, 0%, 48.6%)
CIE-LABlab(26.72, 38.77, -43.68)
CIE-LCHlch(26.72, 58.40, 311.59°)
OKLaboklab(38.53% 0.0762 -0.1243)
OKLCHoklch(38.53% 0.146 301.5)
XYZxyz(8.4218, 4.9952, 21.9888)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532883 #588328
analogous
#282A83 #532883 #802883
triadic
#532883 #835328 #288353
tetradic
#532883 #83282A #588328 #288380
square
#532883 #83282A #588328 #288380
split-complementary
#532883 #838028 #2A8328
monochromatic
#180B25 #351A54 #532883 #7136B2 #9059CC

Accessibility & contrast

On white

10.51
#532883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#532883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532883
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532883#FFFFFF#000000##FFFFFF
##5328831.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#493D52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #532883;
/* rgb */ color: rgb(83, 40, 131);
/* oklch */ color: oklch(38.5% 0.146 301.5);
Tailwind
colors: {
  custom: {
    50: '#8865a8',
    500: '#532883',
    950: '#000000',
  },
}
SCSS
$custom: #532883;
$custom-light: #8865a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532883",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 268.352,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.1458,
    "h": 301.5
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#532883
secondary
#86B155
accent
#DD4B98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532883

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

Preview Lab → · Contrast checker → · Palette generator →

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