#532E8A#532E8A

#532E8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.146 H 297.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#532E8A
RGBrgb(83, 46, 138)
HSLhsl(264, 50%, 36%)
HSVhsv(264, 67%, 54%)
CMYKcmyk(39.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(28.45, 37.38, -45.24)
CIE-LCHlch(28.45, 58.69, 309.57°)
OKLaboklab(39.95% 0.0683 -0.1289)
OKLCHoklch(39.95% 0.146 297.9)
XYZxyz(9.1306, 5.6278, 24.6451)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532E8A #658A2E
analogous
#2E378A #532E8A #812E8A
triadic
#532E8A #8A532E #2E8A53
tetradic
#532E8A #8A2E37 #658A2E #2E8A81
square
#532E8A #8A2E37 #658A2E #2E8A81
split-complementary
#532E8A #8A812E #378A2E
monochromatic
#1C0F2E #371F5C #532E8A #6F3DB8 #8F66CC

Accessibility & contrast

On white

9.88
#532E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#532E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532E8A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532E8A#FFFFFF#000000##FFFFFF
##532E8A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#464358
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532e8a;
/* rgb */ color: rgb(83, 46, 138);
/* oklch */ color: oklch(39.9% 0.146 297.9);
Tailwind
colors: {
  custom: {
    50: '#8869ad',
    500: '#532e8a',
    950: '#000000',
  },
}
SCSS
$custom: #532e8a;
$custom-light: #8869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#532e8a",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 264.13,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.14591,
    "h": 297.9
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#532E8A
secondary
#92B361
accent
#DA4EA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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