#532687#532687

#532687 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.153 H 300.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#532687
RGBrgb(83, 38, 135)
HSLhsl(268, 56%, 34%)
HSVhsv(268, 72%, 53%)
CMYKcmyk(38.5%, 71.9%, 0%, 47.1%)
CIE-LABlab(26.66, 40.86, -46.28)
CIE-LCHlch(26.66, 61.74, 311.44°)
OKLaboklab(38.59% 0.0778 -0.1319)
OKLCHoklch(38.59% 0.153 300.5)
XYZxyz(8.6325, 4.9744, 23.4223)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532687 #5A8726
analogous
#262A87 #532687 #842687
triadic
#532687 #875326 #268753
tetradic
#532687 #87262A #5A8726 #268784
square
#532687 #87262A #5A8726 #268784
split-complementary
#532687 #878426 #2A8726
monochromatic
#180B27 #361957 #532687 #7033B7 #8F58D0

Accessibility & contrast

On white

10.53
#532687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#532687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532687
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532687#FFFFFF#000000##FFFFFF
##5326871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532687;
/* rgb */ color: rgb(83, 38, 135);
/* oklch */ color: oklch(38.6% 0.153 300.5);
Tailwind
colors: {
  custom: {
    50: '#8864ab',
    500: '#532687',
    950: '#000000',
  },
}
SCSS
$custom: #532687;
$custom-light: #8864ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532687",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 267.835,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.15319,
    "h": 300.5
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#532687
secondary
#88B554
accent
#DF4899
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532687

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

Preview Lab → · Contrast checker → · Palette generator →

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