#532981#532981

#532981 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.142 H 302.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#532981
RGBrgb(83, 41, 129)
HSLhsl(269, 52%, 33%)
HSVhsv(269, 68%, 51%)
CMYKcmyk(35.7%, 68.2%, 0%, 49.4%)
CIE-LABlab(26.76, 37.70, -42.36)
CIE-LCHlch(26.76, 56.71, 311.67°)
OKLaboklab(38.51% 0.0753 -0.1204)
OKLCHoklch(38.51% 0.142 302)
XYZxyz(8.3217, 5.0098, 21.2932)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532981 #578129
analogous
#292B81 #532981 #7F2981
triadic
#532981 #815329 #298153
tetradic
#532981 #81292B #578129 #29817F
square
#532981 #81292B #578129 #29817F
split-complementary
#532981 #817F29 #2B8129
monochromatic
#170B24 #351A53 #532981 #7138AF #905ACB

Accessibility & contrast

On white

10.49
#532981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532981
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532981#FFFFFF#000000##FFFFFF
##5329811.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#033F7F
Tritanopia (blue-blind)
#4A3D51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #532981;
/* rgb */ color: rgb(83, 41, 129);
/* oklch */ color: oklch(38.5% 0.142 302.0);
Tailwind
colors: {
  custom: {
    50: '#8766a6',
    500: '#532981',
    950: '#000000',
  },
}
SCSS
$custom: #532981;
$custom-light: #8766a6;
$custom-dark: #000000;
JSON
{
  "hex": "#532981",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 268.636,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.14201,
    "h": 302
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#532981
secondary
#85B056
accent
#DB4D97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #532981

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

Preview Lab → · Contrast checker → · Palette generator →

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