#532D83#532D83

#532D83 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.139 H 300.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#532D83
RGBrgb(83, 45, 131)
HSLhsl(267, 49%, 35%)
HSVhsv(267, 66%, 51%)
CMYKcmyk(36.6%, 65.6%, 0%, 48.6%)
CIE-LABlab(27.72, 36.03, -42.06)
CIE-LCHlch(27.72, 55.38, 310.58°)
OKLaboklab(39.25% 0.0702 -0.1196)
OKLCHoklch(39.25% 0.139 300.4)
XYZxyz(8.6014, 5.3544, 22.0487)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D83 #5D832D
analogous
#2D3283 #532D83 #7E2D83
triadic
#532D83 #83532D #2D8353
tetradic
#532D83 #832D32 #5D832D #2D837E
square
#532D83 #832D32 #5D832D #2D837E
split-complementary
#532D83 #837E2D #32832D
monochromatic
#190E28 #361D55 #532D83 #703DB1 #8F62C9

Accessibility & contrast

On white

10.14
#532D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#532D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D83
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D83#FFFFFF#000000##FFFFFF
##532D831.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#094181
Tritanopia (blue-blind)
#494053
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532d83;
/* rgb */ color: rgb(83, 45, 131);
/* oklch */ color: oklch(39.3% 0.139 300.4);
Tailwind
colors: {
  custom: {
    50: '#8768a8',
    500: '#532d83',
    950: '#000000',
  },
}
SCSS
$custom: #532d83;
$custom-light: #8768a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532d83",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 266.512,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.13866,
    "h": 300.4
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#532D83
secondary
#8BAF5C
accent
#D84F9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532D83

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

Preview Lab → · Contrast checker → · Palette generator →

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