#532EAA#532EAA

#532EAA is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.185 H 289.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#532EAA
RGBrgb(83, 46, 170)
HSLhsl(258, 57%, 42%)
HSVhsv(258, 73%, 67%)
CMYKcmyk(51.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(31.10, 46.39, -60.45)
CIE-LCHlch(31.10, 76.20, 307.50°)
OKLaboklab(42.66% 0.0629 -0.1736)
OKLCHoklch(42.66% 0.185 289.9)
XYZxyz(11.7979, 6.6948, 38.6930)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EAA #85AA2E
analogous
#2E47AA #532EAA #912EAA
triadic
#532EAA #AA532E #2EAA53
tetradic
#532EAA #AA2E47 #85AA2E #2EAA91
square
#532EAA #AA2E47 #85AA2E #2EAA91
split-complementary
#532EAA #AA912E #47AA2E
monochromatic
#24144A #3B217A #532EAA #7048CD #9578DA

Accessibility & contrast

On white

8.98
#532EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#532EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EAA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EAA#FFFFFF#000000##FFFFFF
##532EAA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#344F69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532eaa;
/* rgb */ color: rgb(83, 46, 170);
/* oklch */ color: oklch(42.7% 0.185 289.9);
Tailwind
colors: {
  custom: {
    50: '#8c6ac4',
    500: '#532eaa',
    950: '#000000',
  },
}
SCSS
$custom: #532eaa;
$custom-light: #8c6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#532eaa",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 257.903,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.18463,
    "h": 289.9
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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