#532B7E#532B7E

#532B7E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.135 H 302.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#532B7E
RGBrgb(83, 43, 126)
HSLhsl(269, 49%, 33%)
HSVhsv(269, 66%, 49%)
CMYKcmyk(34.1%, 65.9%, 0%, 50.6%)
CIE-LABlab(26.94, 35.80, -40.18)
CIE-LCHlch(26.94, 53.82, 311.70°)
OKLaboklab(38.57% 0.0731 -0.114)
OKLCHoklch(38.57% 0.135 302.7)
XYZxyz(8.1962, 5.0731, 20.2820)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B7E #567E2B
analogous
#2B2C7E #532B7E #7C2B7E
triadic
#532B7E #7E532B #2B7E53
tetradic
#532B7E #7E2B2C #567E2B #2B7E7C
square
#532B7E #7E2B2C #567E2B #2B7E7C
split-complementary
#532B7E #7E7C2B #2C7E2B
monochromatic
#170C23 #351B50 #532B7E #713BAC #905CC7

Accessibility & contrast

On white

10.42
#532B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#532B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B7E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B7E#FFFFFF#000000##FFFFFF
##532B7E1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#103F7C
Tritanopia (blue-blind)
#4B3D50
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532b7e;
/* rgb */ color: rgb(83, 43, 126);
/* oklch */ color: oklch(38.6% 0.135 302.7);
Tailwind
colors: {
  custom: {
    50: '#8767a4',
    500: '#532b7e',
    950: '#000000',
  },
}
SCSS
$custom: #532b7e;
$custom-light: #8767a4;
$custom-dark: #000000;
JSON
{
  "hex": "#532b7e",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 268.916,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38569,
    "c": 0.13545,
    "h": 302.7
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#532B7E
secondary
#84AD58
accent
#D94F96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #532B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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