#532987#532987

#532987 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.149 H 300.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#532987
RGBrgb(83, 41, 135)
HSLhsl(267, 53%, 35%)
HSVhsv(267, 70%, 53%)
CMYKcmyk(38.5%, 69.6%, 0%, 47.1%)
CIE-LABlab(27.23, 39.30, -45.37)
CIE-LCHlch(27.23, 60.02, 310.90°)
OKLaboklab(38.99% 0.0745 -0.1293)
OKLCHoklch(38.99% 0.149 300)
XYZxyz(8.7323, 5.1741, 23.4556)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532987 #5D8729
analogous
#292E87 #532987 #822987
triadic
#532987 #875329 #298753
tetradic
#532987 #87292E #5D8729 #298782
square
#532987 #87292E #5D8729 #298782
split-complementary
#532987 #878229 #2E8729
monochromatic
#190C29 #361B58 #532987 #7037B6 #8F5DCE

Accessibility & contrast

On white

10.32
#532987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532987
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532987#FFFFFF#000000##FFFFFF
##5329871.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#473F54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532987;
/* rgb */ color: rgb(83, 41, 135);
/* oklch */ color: oklch(39.0% 0.149 300.0);
Tailwind
colors: {
  custom: {
    50: '#8866ab',
    500: '#532987',
    950: '#000000',
  },
}
SCSS
$custom: #532987;
$custom-light: #8866ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532987",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 266.809,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.14919,
    "h": 300
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532987

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

Preview Lab → · Contrast checker → · Palette generator →

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