#532596#532596

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

Color values

HEX#532596
RGBrgb(83, 37, 150)
HSLhsl(264, 60%, 37%)
HSVhsv(264, 75%, 59%)
CMYKcmyk(44.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(27.75, 45.35, -53.80)
CIE-LCHlch(27.75, 70.36, 310.13°)
OKLaboklab(39.75% 0.0757 -0.154)
OKLCHoklch(39.75% 0.172 296.2)
XYZxyz(9.7324, 5.3639, 29.3708)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532596 #689625
analogous
#252F96 #532596 #8C2596
triadic
#532596 #965325 #259653
tetradic
#532596 #96252F #689625 #25968C
square
#532596 #96252F #689625 #25968C
split-complementary
#532596 #968C25 #2F9625
monochromatic
#1D0D34 #381965 #532596 #6E31C7 #8F5ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532596#FFFFFF#000000##FFFFFF
##5325961.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)
#004299
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#41435C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532596;
/* rgb */ color: rgb(83, 37, 150);
/* oklch */ color: oklch(39.7% 0.172 296.2);
Tailwind
colors: {
  custom: {
    50: '#8a64b6',
    500: '#532596',
    950: '#000000',
  },
}
SCSS
$custom: #532596;
$custom-light: #8a64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532596",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 264.425,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.1716,
    "h": 296.2
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#532596
secondary
#94BC5B
accent
#E444A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532596

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

Preview Lab → · Contrast checker → · Palette generator →

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