#532DAF#532DAF

#532DAF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.192 H 289.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#532DAF
RGBrgb(83, 45, 175)
HSLhsl(258, 59%, 43%)
HSVhsv(258, 74%, 69%)
CMYKcmyk(52.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(31.37, 48.32, -63.01)
CIE-LCHlch(31.37, 79.40, 307.48°)
OKLaboklab(42.99% 0.0625 -0.1811)
OKLCHoklch(42.99% 0.192 289.1)
XYZxyz(12.2413, 6.8104, 41.2186)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DAF #89AF2D
analogous
#2D48AF #532DAF #942DAF
triadic
#532DAF #AF532D #2DAF53
tetradic
#532DAF #AF2D48 #89AF2D #2DAF94
square
#532DAF #AF2D48 #89AF2D #2DAF94
split-complementary
#532DAF #AF942D #48AF2D
monochromatic
#25144E #3C207E #532DAF #7149D0 #977ADD

Accessibility & contrast

On white

8.89
#532DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#532DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DAF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DAF#FFFFFF#000000##FFFFFF
##532DAF1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#30506C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532daf;
/* rgb */ color: rgb(83, 45, 175);
/* oklch */ color: oklch(43.0% 0.192 289.1);
Tailwind
colors: {
  custom: {
    50: '#8d6ac8',
    500: '#532daf',
    950: '#000000',
  },
}
SCSS
$custom: #532daf;
$custom-light: #8d6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#532daf",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 257.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.19157,
    "h": 289.1
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#532DAF
secondary
#ADC573
accent
#E246B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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