#532B83#532B83

#532B83 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.142 H 300.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#532B83
RGBrgb(83, 43, 131)
HSLhsl(267, 51%, 34%)
HSVhsv(267, 67%, 51%)
CMYKcmyk(36.6%, 67.2%, 0%, 48.6%)
CIE-LABlab(27.31, 37.14, -42.73)
CIE-LCHlch(27.31, 56.61, 311.00°)
OKLaboklab(38.95% 0.0727 -0.1215)
OKLCHoklch(38.95% 0.142 300.9)
XYZxyz(8.5269, 5.2054, 22.0238)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B83 #5B832B
analogous
#2B2F83 #532B83 #7F2B83
triadic
#532B83 #83532B #2B8353
tetradic
#532B83 #832B2F #5B832B #2B837F
square
#532B83 #832B2F #5B832B #2B837F
split-complementary
#532B83 #837F2B #2F832B
monochromatic
#190D27 #361C55 #532B83 #703AB1 #8F5ECA

Accessibility & contrast

On white

10.29
#532B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#532B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B83
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B83#FFFFFF#000000##FFFFFF
##532B831.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#034081
Tritanopia (blue-blind)
#493F53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532b83;
/* rgb */ color: rgb(83, 43, 131);
/* oklch */ color: oklch(39.0% 0.142 300.9);
Tailwind
colors: {
  custom: {
    50: '#8767a8',
    500: '#532b83',
    950: '#000000',
  },
}
SCSS
$custom: #532b83;
$custom-light: #8767a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532b83",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 267.273,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.14157,
    "h": 300.9
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#532B83
secondary
#89B05A
accent
#DA4E9A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532B83

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

Preview Lab → · Contrast checker → · Palette generator →

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