#532988#532988

#532988 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.150 H 299.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#532988
RGBrgb(83, 41, 136)
HSLhsl(267, 54%, 35%)
HSVhsv(267, 70%, 53%)
CMYKcmyk(39%, 69.9%, 0%, 46.7%)
CIE-LABlab(27.30, 39.57, -45.86)
CIE-LCHlch(27.30, 60.57, 310.79°)
OKLaboklab(39.07% 0.0744 -0.1307)
OKLCHoklch(39.07% 0.15 299.6)
XYZxyz(8.8030, 5.2024, 23.8281)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532988 #5E8829
analogous
#292F88 #532988 #822988
triadic
#532988 #885329 #298853
tetradic
#532988 #88292F #5E8829 #298882
square
#532988 #88292F #5E8829 #298882
split-complementary
#532988 #888229 #2F8829
monochromatic
#1A0D2A #361B59 #532988 #7037B7 #8F5DCE

Accessibility & contrast

On white

10.29
#532988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#532988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532988
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532988#FFFFFF#000000##FFFFFF
##5329881.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#473F55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532988;
/* rgb */ color: rgb(83, 41, 136);
/* oklch */ color: oklch(39.1% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#8866ab',
    500: '#532988',
    950: '#000000',
  },
}
SCSS
$custom: #532988;
$custom-light: #8866ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532988",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 266.526,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.15039,
    "h": 299.6
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#532988
secondary
#8CB459
accent
#DD4B9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532988

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

Preview Lab → · Contrast checker → · Palette generator →

#532988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva