#532CA7#532CA7

#532CA7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.183 H 290.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#532CA7
RGBrgb(83, 44, 167)
HSLhsl(259, 58%, 41%)
HSVhsv(259, 74%, 65%)
CMYKcmyk(50.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(30.47, 46.56, -59.68)
CIE-LCHlch(30.47, 75.70, 307.96°)
OKLaboklab(42.13% 0.0653 -0.1713)
OKLCHoklch(42.13% 0.183 290.9)
XYZxyz(11.4410, 6.4299, 37.1900)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CA7 #80A72C
analogous
#2C43A7 #532CA7 #912CA7
triadic
#532CA7 #A7532C #2CA753
tetradic
#532CA7 #A72C43 #80A72C #2CA791
square
#532CA7 #A72C43 #80A72C #2CA791
split-complementary
#532CA7 #A7912C #43A72C
monochromatic
#231246 #3B1F77 #532CA7 #6F43CD #9473DA

Accessibility & contrast

On white

9.19
#532CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#532CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CA7
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CA7#FFFFFF#000000##FFFFFF
##532CA71.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#374D67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ca7;
/* rgb */ color: rgb(83, 44, 167);
/* oklch */ color: oklch(42.1% 0.183 290.9);
Tailwind
colors: {
  custom: {
    50: '#8c69c2',
    500: '#532ca7',
    950: '#000000',
  },
}
SCSS
$custom: #532ca7;
$custom-light: #8c69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#532ca7",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 259.024,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.18334,
    "h": 290.9
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#532CA7
secondary
#A7C26D
accent
#E246B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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