#532985#532985

#532985 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.147 H 300.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#532985
RGBrgb(83, 41, 133)
HSLhsl(267, 53%, 34%)
HSVhsv(267, 69%, 52%)
CMYKcmyk(37.6%, 69.2%, 0%, 47.8%)
CIE-LABlab(27.07, 38.76, -44.37)
CIE-LCHlch(27.07, 58.92, 311.14°)
OKLaboklab(38.83% 0.0748 -0.1263)
OKLCHoklch(38.83% 0.147 300.6)
XYZxyz(8.5928, 5.1183, 22.7210)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532985 #5B8529
analogous
#292D85 #532985 #812985
triadic
#532985 #855329 #298553
tetradic
#532985 #85292D #5B8529 #298581
square
#532985 #85292D #5B8529 #298581
split-complementary
#532985 #858129 #2D8529
monochromatic
#190C27 #361B56 #532985 #7037B4 #8F5CCD

Accessibility & contrast

On white

10.38
#532985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#532985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532985
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532985#FFFFFF#000000##FFFFFF
##5329851.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#483E53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532985;
/* rgb */ color: rgb(83, 41, 133);
/* oklch */ color: oklch(38.8% 0.147 300.6);
Tailwind
colors: {
  custom: {
    50: '#8866a9',
    500: '#532985',
    950: '#000000',
  },
}
SCSS
$custom: #532985;
$custom-light: #8866a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532985",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 267.391,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.1468,
    "h": 300.6
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#532985
secondary
#89B258
accent
#DC4C9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532985

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

Preview Lab → · Contrast checker → · Palette generator →

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