#532980#532980

#532980 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.141 H 302.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#532980
RGBrgb(83, 41, 128)
HSLhsl(269, 51%, 33%)
HSVhsv(269, 68%, 50%)
CMYKcmyk(35.2%, 68%, 0%, 49.8%)
CIE-LABlab(26.69, 37.43, -41.85)
CIE-LCHlch(26.69, 56.15, 311.81°)
OKLaboklab(38.43% 0.0754 -0.1189)
OKLCHoklch(38.43% 0.141 302.4)
XYZxyz(8.2556, 4.9834, 20.9448)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532980 #568029
analogous
#292A80 #532980 #7E2980
triadic
#532980 #805329 #298053
tetradic
#532980 #80292A #568029 #29807E
square
#532980 #80292A #568029 #29807E
split-complementary
#532980 #807E29 #2A8029
monochromatic
#170B23 #351A52 #532980 #7138AE #9059CA

Accessibility & contrast

On white

10.52
#532980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#532980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532980
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532980#FFFFFF#000000##FFFFFF
##5329801.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#4A3C51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #532980;
/* rgb */ color: rgb(83, 41, 128);
/* oklch */ color: oklch(38.4% 0.141 302.4);
Tailwind
colors: {
  custom: {
    50: '#8766a5',
    500: '#532980',
    950: '#000000',
  },
}
SCSS
$custom: #532980;
$custom-light: #8766a5;
$custom-dark: #000000;
JSON
{
  "hex": "#532980",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 268.966,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38433,
    "c": 0.14081,
    "h": 302.4
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#532980
secondary
#84AF55
accent
#DB4D96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #532980

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

Preview Lab → · Contrast checker → · Palette generator →

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