#532C8A#532C8A

#532C8A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.149 H 298.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#532C8A
RGBrgb(83, 44, 138)
HSLhsl(265, 52%, 36%)
HSVhsv(265, 68%, 54%)
CMYKcmyk(39.9%, 68.1%, 0%, 45.9%)
CIE-LABlab(28.05, 38.49, -45.90)
CIE-LCHlch(28.05, 59.90, 309.98°)
OKLaboklab(39.65% 0.0707 -0.1308)
OKLCHoklch(39.65% 0.149 298.4)
XYZxyz(9.0542, 5.4752, 24.6196)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C8A #638A2C
analogous
#2C348A #532C8A #822C8A
triadic
#532C8A #8A532C #2C8A53
tetradic
#532C8A #8A2C34 #638A2C #2C8A82
square
#532C8A #8A2C34 #638A2C #2C8A82
split-complementary
#532C8A #8A822C #348A2C
monochromatic
#1B0E2D #371D5C #532C8A #6F3BB8 #8F63CD

Accessibility & contrast

On white

10.02
#532C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#532C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C8A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C8A#FFFFFF#000000##FFFFFF
##532C8A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#464257
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532c8a;
/* rgb */ color: rgb(83, 44, 138);
/* oklch */ color: oklch(39.7% 0.149 298.4);
Tailwind
colors: {
  custom: {
    50: '#8868ad',
    500: '#532c8a',
    950: '#000000',
  },
}
SCSS
$custom: #532c8a;
$custom-light: #8868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#532c8a",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 264.894,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.14871,
    "h": 298.4
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#532C8A
secondary
#90B45E
accent
#DB4DA0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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