#532096#532096

#532096 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.177 H 296.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#532096
RGBrgb(83, 32, 150)
HSLhsl(266, 65%, 36%)
HSVhsv(266, 79%, 59%)
CMYKcmyk(44.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(26.94, 47.65, -55.11)
CIE-LCHlch(26.94, 72.85, 310.84°)
OKLaboklab(39.18% 0.0801 -0.1578)
OKLCHoklch(39.18% 0.177 296.9)
XYZxyz(9.5874, 5.0738, 29.3225)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532096 #639620
analogous
#202896 #532096 #8E2096
triadic
#532096 #965320 #209653
tetradic
#532096 #962028 #639620 #20968E
square
#532096 #962028 #639620 #20968E
split-complementary
#532096 #968E20 #289620
monochromatic
#1B0A31 #371564 #532096 #6F2BC8 #8F56DB

Accessibility & contrast

On white

10.42
#532096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#532096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532096
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532096#FFFFFF#000000##FFFFFF
##5320961.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#41405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532096;
/* rgb */ color: rgb(83, 32, 150);
/* oklch */ color: oklch(39.2% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#8a62b6',
    500: '#532096',
    950: '#000000',
  },
}
SCSS
$custom: #532096;
$custom-light: #8a62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532096",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 265.932,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.17698,
    "h": 296.9
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#532096
secondary
#90BE53
accent
#E8409F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532096

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

Preview Lab → · Contrast checker → · Palette generator →

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