#532899#532899

#532899 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.172 H 294.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#532899
RGBrgb(83, 40, 153)
HSLhsl(263, 59%, 38%)
HSVhsv(263, 74%, 60%)
CMYKcmyk(45.8%, 73.9%, 0%, 40%)
CIE-LABlab(28.53, 44.69, -54.36)
CIE-LCHlch(28.53, 70.38, 309.43°)
OKLaboklab(40.38% 0.0722 -0.1557)
OKLCHoklch(40.38% 0.172 294.9)
XYZxyz(10.0743, 5.6562, 30.6918)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532899 #6E9928
analogous
#283599 #532899 #8B2899
triadic
#532899 #995328 #289953
tetradic
#532899 #992835 #6E9928 #28998B
square
#532899 #992835 #6E9928 #28998B
split-complementary
#532899 #998B28 #359928
monochromatic
#1E0F38 #391B68 #532899 #6D35CA #9065D7

Accessibility & contrast

On white

9.85
#532899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#532899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532899
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532899#FFFFFF#000000##FFFFFF
##5328991.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#3F455E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532899;
/* rgb */ color: rgb(83, 40, 153);
/* oklch */ color: oklch(40.4% 0.172 294.9);
Tailwind
colors: {
  custom: {
    50: '#8a66b8',
    500: '#532899',
    950: '#000000',
  },
}
SCSS
$custom: #532899;
$custom-light: #8a66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532899",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 262.832,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.1716,
    "h": 294.9
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#532899
secondary
#99BD60
accent
#E246A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532899

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

Preview Lab → · Contrast checker → · Palette generator →

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