#532085#532085

#532085 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.158 H 302.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#532085
RGBrgb(83, 32, 133)
HSLhsl(270, 61%, 32%)
HSVhsv(270, 76%, 52%)
CMYKcmyk(37.6%, 75.9%, 0%, 47.8%)
CIE-LABlab(25.46, 43.27, -46.99)
CIE-LCHlch(25.46, 63.87, 312.64°)
OKLaboklab(37.68% 0.0845 -0.134)
OKLCHoklch(37.68% 0.158 302.2)
XYZxyz(8.3164, 4.5655, 22.6288)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532085 #528520
analogous
#212085 #532085 #852085
triadic
#532085 #855320 #208553
tetradic
#532085 #852120 #528520 #208585
square
#532085 #852120 #528520 #208585
split-complementary
#532085 #858520 #208521
monochromatic
#150822 #341454 #532085 #722CB6 #904CD4

Accessibility & contrast

On white

10.98
#532085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#532085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532085
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532085#FFFFFF#000000##FFFFFF
##5320851.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#483951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #532085;
/* rgb */ color: rgb(83, 32, 133);
/* oklch */ color: oklch(37.7% 0.158 302.2);
Tailwind
colors: {
  custom: {
    50: '#8861a9',
    500: '#532085',
    950: '#000000',
  },
}
SCSS
$custom: #532085;
$custom-light: #8861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532085",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 270.297,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37682,
    "c": 0.15837,
    "h": 302.2
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#532085
secondary
#80B74A
accent
#E44393
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532085

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

Preview Lab → · Contrast checker → · Palette generator →

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