#532C91#532C91

#532C91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.157 H 296.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#532C91
RGBrgb(83, 44, 145)
HSLhsl(263, 53%, 37%)
HSVhsv(263, 70%, 57%)
CMYKcmyk(42.8%, 69.7%, 0%, 43.1%)
CIE-LABlab(28.60, 40.42, -49.33)
CIE-LCHlch(28.60, 63.77, 309.33°)
OKLaboklab(40.22% 0.0697 -0.1409)
OKLCHoklch(40.22% 0.157 296.3)
XYZxyz(9.5775, 5.6845, 27.3752)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C91 #6A912C
analogous
#2C3891 #532C91 #852C91
triadic
#532C91 #91532C #2C9153
tetradic
#532C91 #912C38 #6A912C #2C9185
square
#532C91 #912C38 #6A912C #2C9185
split-complementary
#532C91 #91852C #38912C
monochromatic
#1D1033 #381E62 #532C91 #6E3AC0 #9067D1

Accessibility & contrast

On white

9.83
#532C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#532C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C91
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C91#FFFFFF#000000##FFFFFF
##532C911.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#43445B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #532c91;
/* rgb */ color: rgb(83, 44, 145);
/* oklch */ color: oklch(40.2% 0.157 296.3);
Tailwind
colors: {
  custom: {
    50: '#8968b2',
    500: '#532c91',
    950: '#000000',
  },
}
SCSS
$custom: #532c91;
$custom-light: #8968b2;
$custom-dark: #000000;
JSON
{
  "hex": "#532c91",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 263.168,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.15721,
    "h": 296.3
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#532C91
secondary
#96B762
accent
#DD4BA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532C91

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

Preview Lab → · Contrast checker → · Palette generator →

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