#532A88#532A88

#532A88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.149 H 299.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#532A88
RGBrgb(83, 42, 136)
HSLhsl(266, 53%, 35%)
HSVhsv(266, 69%, 53%)
CMYKcmyk(39%, 69.1%, 0%, 46.7%)
CIE-LABlab(27.50, 39.03, -45.55)
CIE-LCHlch(27.50, 59.99, 310.60°)
OKLaboklab(39.21% 0.0732 -0.1298)
OKLCHoklch(39.21% 0.149 299.4)
XYZxyz(8.8381, 5.2724, 23.8398)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A88 #5F882A
analogous
#2A3088 #532A88 #822A88
triadic
#532A88 #88532A #2A8853
tetradic
#532A88 #882A30 #5F882A #2A8882
square
#532A88 #882A30 #5F882A #2A8882
split-complementary
#532A88 #88822A #30882A
monochromatic
#1A0D2A #361C59 #532A88 #7038B7 #8F5FCE

Accessibility & contrast

On white

10.22
#532A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#532A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A88
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A88#FFFFFF#000000##FFFFFF
##532A881.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#474055
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532a88;
/* rgb */ color: rgb(83, 42, 136);
/* oklch */ color: oklch(39.2% 0.149 299.4);
Tailwind
colors: {
  custom: {
    50: '#8867ab',
    500: '#532a88',
    950: '#000000',
  },
}
SCSS
$custom: #532a88;
$custom-light: #8867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532a88",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 266.17,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.14903,
    "h": 299.4
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#532A88
secondary
#8DB35B
accent
#DC4C9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532A88

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

Preview Lab → · Contrast checker → · Palette generator →

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