#532989#532989

#532989 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.152 H 299.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#532989
RGBrgb(83, 41, 137)
HSLhsl(266, 54%, 35%)
HSVhsv(266, 70%, 54%)
CMYKcmyk(39.4%, 70.1%, 0%, 46.3%)
CIE-LABlab(27.38, 39.84, -46.36)
CIE-LCHlch(27.38, 61.12, 310.67°)
OKLaboklab(39.15% 0.0742 -0.1322)
OKLCHoklch(39.15% 0.152 299.3)
XYZxyz(8.8744, 5.2309, 24.2042)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532989 #5F8929
analogous
#292F89 #532989 #832989
triadic
#532989 #895329 #298953
tetradic
#532989 #89292F #5F8929 #298983
square
#532989 #89292F #5F8929 #298983
split-complementary
#532989 #898329 #2F8929
monochromatic
#1A0D2B #361B5A #532989 #7037B8 #8F5ECF

Accessibility & contrast

On white

10.26
#532989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#532989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532989
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532989#FFFFFF#000000##FFFFFF
##5329891.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#474055
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532989;
/* rgb */ color: rgb(83, 41, 137);
/* oklch */ color: oklch(39.2% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#8866ac',
    500: '#532989',
    950: '#000000',
  },
}
SCSS
$custom: #532989;
$custom-light: #8866ac;
$custom-dark: #000000;
JSON
{
  "hex": "#532989",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 266.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.15158,
    "h": 299.3
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#532989
secondary
#8DB45A
accent
#DD4A9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532989

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

Preview Lab → · Contrast checker → · Palette generator →

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