#532699#532699

#532699 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.174 H 295.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#532699
RGBrgb(83, 38, 153)
HSLhsl(263, 60%, 37%)
HSVhsv(263, 75%, 60%)
CMYKcmyk(45.8%, 75.2%, 0%, 40%)
CIE-LABlab(28.18, 45.68, -54.93)
CIE-LCHlch(28.18, 71.44, 309.74°)
OKLaboklab(40.14% 0.074 -0.1573)
OKLCHoklch(40.14% 0.174 295.2)
XYZxyz(10.0086, 5.5249, 30.6699)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532699 #6C9926
analogous
#263399 #532699 #8C2699
triadic
#532699 #995326 #269953
tetradic
#532699 #992633 #6C9926 #26998C
square
#532699 #992633 #6C9926 #26998C
split-complementary
#532699 #998C26 #339926
monochromatic
#1E0E37 #381A68 #532699 #6E32CA #9062D8

Accessibility & contrast

On white

9.98
#532699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#532699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532699
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532699#FFFFFF#000000##FFFFFF
##5326991.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#3F445D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532699;
/* rgb */ color: rgb(83, 38, 153);
/* oklch */ color: oklch(40.1% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#8a65b8',
    500: '#532699',
    950: '#000000',
  },
}
SCSS
$custom: #532699;
$custom-light: #8a65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#532699",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 263.478,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.17389,
    "h": 295.2
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#532699
secondary
#98BD5E
accent
#E344A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #532699

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

Preview Lab → · Contrast checker → · Palette generator →

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