#532189#532189

#532189 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.162 H 300.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#532189
RGBrgb(83, 33, 137)
HSLhsl(269, 61%, 33%)
HSVhsv(269, 76%, 54%)
CMYKcmyk(39.4%, 75.9%, 0%, 46.3%)
CIE-LABlab(25.96, 43.83, -48.67)
CIE-LCHlch(25.96, 65.50, 312.00°)
OKLaboklab(38.14% 0.0826 -0.1389)
OKLCHoklch(38.14% 0.162 300.7)
XYZxyz(8.6254, 4.7328, 24.1212)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532189 #578921
analogous
#212389 #532189 #872189
triadic
#532189 #895321 #218953
tetradic
#532189 #892123 #578921 #218987
square
#532189 #892123 #578921 #218987
split-complementary
#532189 #898721 #238921
monochromatic
#170926 #351558 #532189 #712DBA #9050D5

Accessibility & contrast

On white

10.79
#532189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#532189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532189
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532189#FFFFFF#000000##FFFFFF
##5321891.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532189;
/* rgb */ color: rgb(83, 33, 137);
/* oklch */ color: oklch(38.1% 0.162 300.7);
Tailwind
colors: {
  custom: {
    50: '#8962ac',
    500: '#532189',
    950: '#000000',
  },
}
SCSS
$custom: #532189;
$custom-light: #8962ac;
$custom-dark: #000000;
JSON
{
  "hex": "#532189",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 268.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.16161,
    "h": 300.7
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#532189
secondary
#85B84E
accent
#E44497
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532189

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

Preview Lab → · Contrast checker → · Palette generator →

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