#532486#532486

#532486 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.155 H 301.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#532486
RGBrgb(83, 36, 134)
HSLhsl(269, 58%, 33%)
HSVhsv(269, 73%, 53%)
CMYKcmyk(38.1%, 73.1%, 0%, 47.5%)
CIE-LABlab(26.22, 41.61, -46.37)
CIE-LCHlch(26.22, 62.30, 311.90°)
OKLaboklab(38.25% 0.0802 -0.1322)
OKLCHoklch(38.25% 0.155 301.2)
XYZxyz(8.5002, 4.8219, 23.0325)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532486 #578624
analogous
#242686 #532486 #842486
triadic
#532486 #865324 #248653
tetradic
#532486 #862426 #578624 #248684
square
#532486 #862426 #578624 #248684
split-complementary
#532486 #868424 #268624
monochromatic
#170A26 #351756 #532486 #7131B6 #9053D1

Accessibility & contrast

On white

10.69
#532486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#532486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532486
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532486#FFFFFF#000000##FFFFFF
##5324861.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#483C52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532486;
/* rgb */ color: rgb(83, 36, 134);
/* oklch */ color: oklch(38.2% 0.155 301.2);
Tailwind
colors: {
  custom: {
    50: '#8863aa',
    500: '#532486',
    950: '#000000',
  },
}
SCSS
$custom: #532486;
$custom-light: #8863aa;
$custom-dark: #000000;
JSON
{
  "hex": "#532486",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 268.776,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38247,
    "c": 0.15459,
    "h": 301.2
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#532486
secondary
#85B551
accent
#E14797
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532486

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

Preview Lab → · Contrast checker → · Palette generator →

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