#532D85#532D85

#532D85 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.141 H 299.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#532D85
RGBrgb(83, 45, 133)
HSLhsl(266, 49%, 35%)
HSVhsv(266, 66%, 52%)
CMYKcmyk(37.6%, 66.2%, 0%, 47.8%)
CIE-LABlab(27.87, 36.57, -43.07)
CIE-LCHlch(27.87, 56.51, 310.33°)
OKLaboklab(39.4% 0.0701 -0.1225)
OKLCHoklch(39.4% 0.141 299.8)
XYZxyz(8.7383, 5.4091, 22.7695)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D85 #5F852D
analogous
#2D3385 #532D85 #7F2D85
triadic
#532D85 #85532D #2D8553
tetradic
#532D85 #852D33 #5F852D #2D857F
square
#532D85 #852D33 #5F852D #2D857F
split-complementary
#532D85 #857F2D #33852D
monochromatic
#1A0E2A #361E57 #532D85 #703CB3 #8F62CA

Accessibility & contrast

On white

10.09
#532D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#532D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D85
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D85#FFFFFF#000000##FFFFFF
##532D851.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#034183
Tritanopia (blue-blind)
#484155
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532d85;
/* rgb */ color: rgb(83, 45, 133);
/* oklch */ color: oklch(39.4% 0.141 299.8);
Tailwind
colors: {
  custom: {
    50: '#8768a9',
    500: '#532d85',
    950: '#000000',
  },
}
SCSS
$custom: #532d85;
$custom-light: #8768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532d85",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 265.909,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.14114,
    "h": 299.8
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#532D85
secondary
#8DB05D
accent
#D94F9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532D85

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

Preview Lab → · Contrast checker → · Palette generator →

#532D85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva