#532496#532496

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

Color values

HEX#532496
RGBrgb(83, 36, 150)
HSLhsl(265, 61%, 36%)
HSVhsv(265, 76%, 59%)
CMYKcmyk(44.7%, 76%, 0%, 41.2%)
CIE-LABlab(27.58, 45.83, -54.07)
CIE-LCHlch(27.58, 70.88, 310.28°)
OKLaboklab(39.63% 0.0766 -0.1548)
OKLCHoklch(39.63% 0.173 296.3)
XYZxyz(9.7017, 5.3025, 29.3606)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532496 #679624
analogous
#242E96 #532496 #8C2496
triadic
#532496 #965324 #249653
tetradic
#532496 #96242E #679624 #24968C
square
#532496 #96242E #679624 #24968C
split-complementary
#532496 #968C24 #2E9624
monochromatic
#1C0C33 #381865 #532496 #6E30C7 #8F5CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532496#FFFFFF#000000##FFFFFF
##5324961.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)
#004299
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#41425B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532496;
/* rgb */ color: rgb(83, 36, 150);
/* oklch */ color: oklch(39.6% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#8a64b6',
    500: '#532496',
    950: '#000000',
  },
}
SCSS
$custom: #532496;
$custom-light: #8a64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532496",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 264.737,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.17272,
    "h": 296.3
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#532496
secondary
#94BD59
accent
#E443A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532496

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

Preview Lab → · Contrast checker → · Palette generator →

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