#532DA5#532DA5

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

Color values

HEX#532DA5
RGBrgb(83, 45, 165)
HSLhsl(259, 57%, 41%)
HSVhsv(259, 73%, 65%)
CMYKcmyk(49.7%, 72.7%, 0%, 35.3%)
CIE-LABlab(30.48, 45.49, -58.47)
CIE-LCHlch(30.48, 74.08, 307.89°)
OKLaboklab(42.08% 0.0649 -0.1678)
OKLCHoklch(42.08% 0.18 291.1)
XYZxyz(11.2953, 6.4319, 36.2364)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DA5 #7FA52D
analogous
#2D43A5 #532DA5 #8F2DA5
triadic
#532DA5 #A5532D #2DA553
tetradic
#532DA5 #A52D43 #7FA52D #2DA58F
square
#532DA5 #A52D43 #7FA52D #2DA58F
split-complementary
#532DA5 #A58F2D #43A52D
monochromatic
#231345 #3B2075 #532DA5 #6F43CC #9473D9

Accessibility & contrast

On white

9.18
#532DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532DA5
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DA5#FFFFFF#000000##FFFFFF
##532DA51.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#384C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532da5;
/* rgb */ color: rgb(83, 45, 165);
/* oklch */ color: oklch(42.1% 0.180 291.1);
Tailwind
colors: {
  custom: {
    50: '#8b69c1',
    500: '#532da5',
    950: '#000000',
  },
}
SCSS
$custom: #532da5;
$custom-light: #8b69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#532da5",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 259,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.17986,
    "h": 291.1
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#532DA5
secondary
#A6C16D
accent
#E047B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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