#532487#532487

#532487 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.156 H 300.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#532487
RGBrgb(83, 36, 135)
HSLhsl(268, 58%, 34%)
HSVhsv(268, 73%, 53%)
CMYKcmyk(38.5%, 73.3%, 0%, 47.1%)
CIE-LABlab(26.30, 41.87, -46.86)
CIE-LCHlch(26.30, 62.84, 311.78°)
OKLaboklab(38.33% 0.08 -0.1336)
OKLCHoklch(38.33% 0.156 300.9)
XYZxyz(8.5703, 4.8500, 23.4016)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532487 #588724
analogous
#242687 #532487 #842487
triadic
#532487 #875324 #248753
tetradic
#532487 #872426 #588724 #248784
square
#532487 #872426 #588724 #248784
split-complementary
#532487 #878424 #268724
monochromatic
#180A26 #351757 #532487 #7131B7 #9054D1

Accessibility & contrast

On white

10.66
#532487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#532487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532487
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532487#FFFFFF#000000##FFFFFF
##5324871.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#483C53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532487;
/* rgb */ color: rgb(83, 36, 135);
/* oklch */ color: oklch(38.3% 0.156 300.9);
Tailwind
colors: {
  custom: {
    50: '#8863ab',
    500: '#532487',
    950: '#000000',
  },
}
SCSS
$custom: #532487;
$custom-light: #8863ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532487",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 268.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38331,
    "c": 0.15573,
    "h": 300.9
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#532487
secondary
#86B551
accent
#E14798
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532487

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

Preview Lab → · Contrast checker → · Palette generator →

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