#532B95#532B95

#532B95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.163 H 295.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#532B95
RGBrgb(83, 43, 149)
HSLhsl(263, 55%, 38%)
HSVhsv(263, 71%, 58%)
CMYKcmyk(44.3%, 71.1%, 0%, 41.6%)
CIE-LABlab(28.74, 42.06, -51.57)
CIE-LCHlch(28.74, 66.55, 309.20°)
OKLaboklab(40.42% 0.07 -0.1475)
OKLCHoklch(40.42% 0.163 295.4)
XYZxyz(9.8545, 5.7364, 29.0160)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B95 #6D952B
analogous
#2B3895 #532B95 #882B95
triadic
#532B95 #95532B #2B9553
tetradic
#532B95 #952B38 #6D952B #2B9588
square
#532B95 #952B38 #6D952B #2B9588
split-complementary
#532B95 #95882B #38952B
monochromatic
#1E1036 #391D66 #532B95 #6D39C4 #9067D3

Accessibility & contrast

On white

9.78
#532B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#532B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B95
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B95#FFFFFF#000000##FFFFFF
##532B951.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#41455D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532b95;
/* rgb */ color: rgb(83, 43, 149);
/* oklch */ color: oklch(40.4% 0.163 295.4);
Tailwind
colors: {
  custom: {
    50: '#8968b5',
    500: '#532b95',
    950: '#000000',
  },
}
SCSS
$custom: #532b95;
$custom-light: #8968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532b95",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 262.642,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.16328,
    "h": 295.4
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#532B95
secondary
#99BA62
accent
#DF49A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532B95

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

Preview Lab → · Contrast checker → · Palette generator →

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