#532CA6#532CA6

#532CA6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.182 H 291.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#532CA6
RGBrgb(83, 44, 166)
HSLhsl(259, 58%, 41%)
HSVhsv(259, 73%, 65%)
CMYKcmyk(50%, 73.5%, 0%, 34.9%)
CIE-LABlab(30.38, 46.28, -59.22)
CIE-LCHlch(30.38, 75.16, 308.01°)
OKLaboklab(42.04% 0.0655 -0.17)
OKLCHoklch(42.04% 0.182 291.1)
XYZxyz(11.3489, 6.3931, 36.7050)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CA6 #7FA62C
analogous
#2C42A6 #532CA6 #902CA6
triadic
#532CA6 #A6532C #2CA653
tetradic
#532CA6 #A62C42 #7FA62C #2CA690
square
#532CA6 #A62C42 #7FA62C #2CA690
split-complementary
#532CA6 #A6902C #42A62C
monochromatic
#231245 #3B1F76 #532CA6 #6F42CD #9473DA

Accessibility & contrast

On white

9.22
#532CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#532CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CA6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CA6#FFFFFF#000000##FFFFFF
##532CA61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#374C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ca6;
/* rgb */ color: rgb(83, 44, 166);
/* oklch */ color: oklch(42.0% 0.182 291.1);
Tailwind
colors: {
  custom: {
    50: '#8c69c1',
    500: '#532ca6',
    950: '#000000',
  },
}
SCSS
$custom: #532ca6;
$custom-light: #8c69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#532ca6",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 259.18,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.18217,
    "h": 291.1
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#532CA6
secondary
#A6C16D
accent
#E146B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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