#532F85#532F85

#532F85 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.138 H 299.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#532F85
RGBrgb(83, 47, 133)
HSLhsl(265, 48%, 35%)
HSVhsv(265, 65%, 52%)
CMYKcmyk(37.6%, 64.7%, 0%, 47.8%)
CIE-LABlab(28.29, 35.44, -42.40)
CIE-LCHlch(28.29, 55.26, 309.89°)
OKLaboklab(39.71% 0.0676 -0.1205)
OKLCHoklch(39.71% 0.138 299.3)
XYZxyz(8.8164, 5.5654, 22.7955)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532F85 #61852F
analogous
#2F3685 #532F85 #7E2F85
triadic
#532F85 #85532F #2F8553
tetradic
#532F85 #852F36 #61852F #2F857E
square
#532F85 #852F36 #61852F #2F857E
split-complementary
#532F85 #857E2F #36852F
monochromatic
#1B0F2B #371F58 #532F85 #6F3FB2 #8F66C9

Accessibility & contrast

On white

9.94
#532F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#532F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532F85
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532F85#FFFFFF#000000##FFFFFF
##532F851.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#094283
Tritanopia (blue-blind)
#484255
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532f85;
/* rgb */ color: rgb(83, 47, 133);
/* oklch */ color: oklch(39.7% 0.138 299.3);
Tailwind
colors: {
  custom: {
    50: '#876aa9',
    500: '#532f85',
    950: '#000000',
  },
}
SCSS
$custom: #532f85;
$custom-light: #876aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#532f85",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 265.116,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.13821,
    "h": 299.3
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#532F85
secondary
#8EB060
accent
#D7509F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532F85

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

Preview Lab → · Contrast checker → · Palette generator →

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