#532299#532299

#532299 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.178 H 295.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#532299
RGBrgb(83, 34, 153)
HSLhsl(265, 64%, 37%)
HSVhsv(265, 78%, 60%)
CMYKcmyk(45.8%, 77.8%, 0%, 40%)
CIE-LABlab(27.53, 47.54, -56.00)
CIE-LCHlch(27.53, 73.46, 310.33°)
OKLaboklab(39.67% 0.0775 -0.1605)
OKLCHoklch(39.67% 0.178 295.8)
XYZxyz(9.8875, 5.2827, 30.6295)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532299 #689922
analogous
#222D99 #532299 #8F2299
triadic
#532299 #995322 #229953
tetradic
#532299 #99222D #689922 #22998F
square
#532299 #99222D #689922 #22998F
split-complementary
#532299 #998F22 #2D9922
monochromatic
#1D0C35 #381767 #532299 #6E2DCB #8F5BDB

Accessibility & contrast

On white

10.21
#532299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#532299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532299
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532299#FFFFFF#000000##FFFFFF
##5322991.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#3F425D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532299;
/* rgb */ color: rgb(83, 34, 153);
/* oklch */ color: oklch(39.7% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#8b63b8',
    500: '#532299',
    950: '#000000',
  },
}
SCSS
$custom: #532299;
$custom-light: #8b63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532299",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 264.706,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.1782,
    "h": 295.8
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#532299
secondary
#94BF58
accent
#E741A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532299

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

Preview Lab → · Contrast checker → · Palette generator →

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