#532587#532587

#532587 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.154 H 300.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#532587
RGBrgb(83, 37, 135)
HSLhsl(268, 57%, 34%)
HSVhsv(268, 73%, 53%)
CMYKcmyk(38.5%, 72.6%, 0%, 47.1%)
CIE-LABlab(26.48, 41.37, -46.58)
CIE-LCHlch(26.48, 62.30, 311.61°)
OKLaboklab(38.46% 0.0789 -0.1328)
OKLCHoklch(38.46% 0.154 300.7)
XYZxyz(8.6010, 4.9113, 23.4118)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532587 #598725
analogous
#252887 #532587 #842587
triadic
#532587 #875325 #258753
tetradic
#532587 #872528 #598725 #258784
square
#532587 #872528 #598725 #258784
split-complementary
#532587 #878425 #288725
monochromatic
#180B27 #351857 #532587 #7132B7 #8F56D1

Accessibility & contrast

On white

10.59
#532587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#532587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532587
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532587#FFFFFF#000000##FFFFFF
##5325871.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#473D53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #532587;
/* rgb */ color: rgb(83, 37, 135);
/* oklch */ color: oklch(38.5% 0.154 300.7);
Tailwind
colors: {
  custom: {
    50: '#8864ab',
    500: '#532587',
    950: '#000000',
  },
}
SCSS
$custom: #532587;
$custom-light: #8864ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532587",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 268.163,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.15447,
    "h": 300.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#532587
secondary
#87B553
accent
#E04899
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532587

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

Preview Lab → · Contrast checker → · Palette generator →

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