#532289#532289

#532289 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.160 H 300.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#532289
RGBrgb(83, 34, 137)
HSLhsl(269, 60%, 34%)
HSVhsv(269, 75%, 54%)
CMYKcmyk(39.4%, 75.2%, 0%, 46.3%)
CIE-LABlab(26.13, 43.36, -48.40)
CIE-LCHlch(26.13, 64.98, 311.85°)
OKLaboklab(38.26% 0.0816 -0.1381)
OKLCHoklch(38.26% 0.16 300.6)
XYZxyz(8.6535, 4.7891, 24.1305)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532289 #588922
analogous
#222489 #532289 #862289
triadic
#532289 #895322 #228953
tetradic
#532289 #892224 #588922 #228986
square
#532289 #892224 #588922 #228986
split-complementary
#532289 #898622 #248922
monochromatic
#180A27 #351658 #532289 #712EBA #9051D4

Accessibility & contrast

On white

10.73
#532289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#532289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532289
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532289#FFFFFF#000000##FFFFFF
##5322891.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#473C53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532289;
/* rgb */ color: rgb(83, 34, 137);
/* oklch */ color: oklch(38.3% 0.160 300.6);
Tailwind
colors: {
  custom: {
    50: '#8962ac',
    500: '#532289',
    950: '#000000',
  },
}
SCSS
$custom: #532289;
$custom-light: #8962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#532289",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 268.544,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.16044,
    "h": 300.6
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#532289
secondary
#86B84F
accent
#E34498
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532289

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

Preview Lab → · Contrast checker → · Palette generator →

#532289 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva