#532D98#532D98

#532D98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.164 H 294.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#532D98
RGBrgb(83, 45, 152)
HSLhsl(261, 54%, 39%)
HSVhsv(261, 70%, 60%)
CMYKcmyk(45.4%, 70.4%, 0%, 40.4%)
CIE-LABlab(29.37, 41.83, -52.38)
CIE-LCHlch(29.37, 67.03, 308.61°)
OKLaboklab(40.95% 0.0674 -0.1499)
OKLCHoklch(40.95% 0.164 294.2)
XYZxyz(10.1716, 5.9825, 30.3185)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D98 #72982D
analogous
#2D3C98 #532D98 #882D98
triadic
#532D98 #98532D #2D9853
tetradic
#532D98 #982D3C #72982D #2D9888
square
#532D98 #982D3C #72982D #2D9888
split-complementary
#532D98 #98882D #3C982D
monochromatic
#1F113A #391F69 #532D98 #6D3DC5 #916CD3

Accessibility & contrast

On white

9.56
#532D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#532D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D98
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D98#FFFFFF#000000##FFFFFF
##532D981.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#3F485F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532d98;
/* rgb */ color: rgb(83, 45, 152);
/* oklch */ color: oklch(41.0% 0.164 294.2);
Tailwind
colors: {
  custom: {
    50: '#8a69b7',
    500: '#532d98',
    950: '#000000',
  },
}
SCSS
$custom: #532d98;
$custom-light: #8a69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532d98",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 261.308,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.16436,
    "h": 294.2
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#532D98
secondary
#9DBA66
accent
#DE4AA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D98

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

Preview Lab → · Contrast checker → · Palette generator →

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