#531689#531689

#531689 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.173 H 302.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#531689
RGBrgb(83, 22, 137)
HSLhsl(272, 72%, 31%)
HSVhsv(272, 84%, 54%)
CMYKcmyk(39.4%, 83.9%, 0%, 46.3%)
CIE-LABlab(24.38, 48.38, -51.25)
CIE-LCHlch(24.38, 70.47, 313.35°)
OKLaboklab(37.04% 0.092 -0.1464)
OKLCHoklch(37.04% 0.173 302.1)
XYZxyz(8.3685, 4.2189, 24.0355)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531689 #4C8916
analogous
#191689 #531689 #891685
triadic
#531689 #895316 #168953
tetradic
#531689 #891916 #4C8916 #168589
square
#531689 #891916 #4C8916 #168589
split-complementary
#531689 #858916 #168919
monochromatic
#130520 #330E54 #531689 #731EBE #923ADF

Accessibility & contrast

On white

11.39
#531689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531689
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531689#FFFFFF#000000##FFFFFF
##5316891.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#473751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531689;
/* rgb */ color: rgb(83, 22, 137);
/* oklch */ color: oklch(37.0% 0.173 302.1);
Tailwind
colors: {
  custom: {
    50: '#895cac',
    500: '#531689',
    950: '#000000',
  },
}
SCSS
$custom: #531689;
$custom-light: #895cac;
$custom-dark: #000000;
JSON
{
  "hex": "#531689",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 271.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.1729,
    "h": 302.1
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#531689
secondary
#7ABD3E
accent
#EF398E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531689

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

Preview Lab → · Contrast checker → · Palette generator →

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