#532B9E#532B9E

#532B9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.174 H 293.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#532B9E
RGBrgb(83, 43, 158)
HSLhsl(261, 57%, 39%)
HSVhsv(261, 73%, 62%)
CMYKcmyk(47.5%, 72.8%, 0%, 38%)
CIE-LABlab(29.50, 44.56, -55.82)
CIE-LCHlch(29.50, 71.42, 308.60°)
OKLaboklab(41.2% 0.0682 -0.16)
OKLCHoklch(41.2% 0.174 293.1)
XYZxyz(10.6010, 6.0350, 32.9474)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B9E #769E2B
analogous
#2B3C9E #532B9E #8D2B9E
triadic
#532B9E #9E532B #2B9E53
tetradic
#532B9E #9E2B3C #769E2B #2B9E8D
square
#532B9E #9E2B3C #769E2B #2B9E8D
split-complementary
#532B9E #9E8D2B #3C9E2B
monochromatic
#20113E #3A1E6E #532B9E #6E3CCA #916CD7

Accessibility & contrast

On white

9.52
#532B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#532B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B9E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B9E#FFFFFF#000000##FFFFFF
##532B9E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532b9e;
/* rgb */ color: rgb(83, 43, 158);
/* oklch */ color: oklch(41.2% 0.174 293.1);
Tailwind
colors: {
  custom: {
    50: '#8b68bc',
    500: '#532b9e',
    950: '#000000',
  },
}
SCSS
$custom: #532b9e;
$custom-light: #8b68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#532b9e",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 260.87,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41203,
    "c": 0.17394,
    "h": 293.1
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#532B9E
secondary
#A0BE67
accent
#E047AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #532B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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