#532D95#532D95

#532D95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.161 H 295.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#532D95
RGBrgb(83, 45, 149)
HSLhsl(262, 54%, 38%)
HSVhsv(262, 70%, 58%)
CMYKcmyk(44.3%, 69.8%, 0%, 41.6%)
CIE-LABlab(29.12, 40.99, -50.94)
CIE-LCHlch(29.12, 65.39, 308.82°)
OKLaboklab(40.7% 0.068 -0.1457)
OKLCHoklch(40.7% 0.161 295)
XYZxyz(9.9290, 5.8855, 29.0408)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D95 #6F952D
analogous
#2D3B95 #532D95 #872D95
triadic
#532D95 #95532D #2D9553
tetradic
#532D95 #952D3B #6F952D #2D9587
square
#532D95 #952D3B #6F952D #2D9587
split-complementary
#532D95 #95872D #3B952D
monochromatic
#1F1137 #391F66 #532D95 #6D3BC4 #906AD2

Accessibility & contrast

On white

9.65
#532D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#532D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D95
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D95#FFFFFF#000000##FFFFFF
##532D951.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#41465D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532d95;
/* rgb */ color: rgb(83, 45, 149);
/* oklch */ color: oklch(40.7% 0.161 295.0);
Tailwind
colors: {
  custom: {
    50: '#8969b5',
    500: '#532d95',
    950: '#000000',
  },
}
SCSS
$custom: #532d95;
$custom-light: #8969b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532d95",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 261.923,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40697,
    "c": 0.16074,
    "h": 295
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#532D95
secondary
#9AB965
accent
#DD4BA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D95

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

Preview Lab → · Contrast checker → · Palette generator →

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