#532EAB#532EAB

#532EAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.186 H 289.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#532EAB
RGBrgb(83, 46, 171)
HSLhsl(258, 58%, 43%)
HSVhsv(258, 73%, 67%)
CMYKcmyk(51.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(31.19, 46.68, -60.91)
CIE-LCHlch(31.19, 76.74, 307.46°)
OKLaboklab(42.75% 0.0626 -0.1749)
OKLCHoklch(42.75% 0.186 289.7)
XYZxyz(11.8928, 6.7327, 39.1931)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EAB #86AB2E
analogous
#2E47AB #532EAB #922EAB
triadic
#532EAB #AB532E #2EAB53
tetradic
#532EAB #AB2E47 #86AB2E #2EAB92
square
#532EAB #AB2E47 #86AB2E #2EAB92
split-complementary
#532EAB #AB922E #47AB2E
monochromatic
#24144B #3C217B #532EAB #7048CE #9679DB

Accessibility & contrast

On white

8.95
#532EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#532EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EAB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EAB#FFFFFF#000000##FFFFFF
##532EAB1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#334F6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532eab;
/* rgb */ color: rgb(83, 46, 171);
/* oklch */ color: oklch(42.8% 0.186 289.7);
Tailwind
colors: {
  custom: {
    50: '#8c6ac5',
    500: '#532eab',
    950: '#000000',
  },
}
SCSS
$custom: #532eab;
$custom-light: #8c6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#532eab",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 257.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.1858,
    "h": 289.7
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#532EAB
secondary
#ABC372
accent
#E147B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532EAB

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

Preview Lab → · Contrast checker → · Palette generator →

#532EAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva