#532585#532585

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

Color values

HEX#532585
RGBrgb(83, 37, 133)
HSLhsl(269, 56%, 33%)
HSVhsv(269, 72%, 52%)
CMYKcmyk(37.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(26.32, 40.85, -45.59)
CIE-LCHlch(26.32, 61.21, 311.86°)
OKLaboklab(38.29% 0.0793 -0.1299)
OKLCHoklch(38.29% 0.152 301.4)
XYZxyz(8.4615, 4.8555, 22.6772)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532585 #578525
analogous
#252785 #532585 #832585
triadic
#532585 #855325 #258553
tetradic
#532585 #852527 #578525 #258583
square
#532585 #852527 #578525 #258583
split-complementary
#532585 #858325 #278525
monochromatic
#170A25 #351855 #532585 #7132B5 #9055D0

Accessibility & contrast

On white

10.65
#532585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532585
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532585#FFFFFF#000000##FFFFFF
##5325851.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532585;
/* rgb */ color: rgb(83, 37, 133);
/* oklch */ color: oklch(38.3% 0.152 301.4);
Tailwind
colors: {
  custom: {
    50: '#8864a9',
    500: '#532585',
    950: '#000000',
  },
}
SCSS
$custom: #532585;
$custom-light: #8864a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532585",
  "rgb": {
    "r": 83,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 268.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.15216,
    "h": 301.4
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#532585
secondary
#85B452
accent
#E04897
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532585

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

Preview Lab → · Contrast checker → · Palette generator →

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