#532A9E#532A9E

#532A9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.175 H 293.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#532A9E
RGBrgb(83, 42, 158)
HSLhsl(261, 58%, 39%)
HSVhsv(261, 73%, 62%)
CMYKcmyk(47.5%, 73.4%, 0%, 38%)
CIE-LABlab(29.32, 45.07, -56.12)
CIE-LCHlch(29.32, 71.97, 308.77°)
OKLaboklab(41.07% 0.0692 -0.1609)
OKLCHoklch(41.07% 0.175 293.3)
XYZxyz(10.5651, 5.9632, 32.9355)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A9E #759E2A
analogous
#2A3B9E #532A9E #8D2A9E
triadic
#532A9E #9E532A #2A9E53
tetradic
#532A9E #9E2A3B #759E2A #2A9E8D
square
#532A9E #9E2A3B #759E2A #2A9E8D
split-complementary
#532A9E #9E8D2A #3B9E2A
monochromatic
#20103D #3A1D6E #532A9E #6D3ACB #916BD8

Accessibility & contrast

On white

9.58
#532A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#532A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A9E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A9E#FFFFFF#000000##FFFFFF
##532A9E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#3C4861
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532a9e;
/* rgb */ color: rgb(83, 42, 158);
/* oklch */ color: oklch(41.1% 0.175 293.3);
Tailwind
colors: {
  custom: {
    50: '#8b67bc',
    500: '#532a9e',
    950: '#000000',
  },
}
SCSS
$custom: #532a9e;
$custom-light: #8b67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#532a9e",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 261.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.1751,
    "h": 293.3
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#532A9E
secondary
#9FBE66
accent
#E147AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #532A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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