#531989#531989

#531989 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.170 H 301.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#531989
RGBrgb(83, 25, 137)
HSLhsl(271, 69%, 32%)
HSVhsv(271, 82%, 54%)
CMYKcmyk(39.4%, 81.8%, 0%, 46.3%)
CIE-LABlab(24.77, 47.26, -50.62)
CIE-LCHlch(24.77, 69.25, 313.03°)
OKLaboklab(37.3% 0.0897 -0.1446)
OKLCHoklch(37.3% 0.17 301.8)
XYZxyz(8.4292, 4.3404, 24.0558)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531989 #4F8919
analogous
#1B1989 #531989 #891987
triadic
#531989 #895319 #198953
tetradic
#531989 #891B19 #4F8919 #198789
square
#531989 #891B19 #4F8919 #198789
split-complementary
#531989 #878919 #19891B
monochromatic
#140621 #341055 #531989 #7222BD #9140DC

Accessibility & contrast

On white

11.24
#531989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#531989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531989
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531989#FFFFFF#000000##FFFFFF
##5319891.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#473851
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531989;
/* rgb */ color: rgb(83, 25, 137);
/* oklch */ color: oklch(37.3% 0.170 301.8);
Tailwind
colors: {
  custom: {
    50: '#895eac',
    500: '#531989',
    950: '#000000',
  },
}
SCSS
$custom: #531989;
$custom-light: #895eac;
$custom-dark: #000000;
JSON
{
  "hex": "#531989",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 271.071,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.17014,
    "h": 301.8
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#531989
secondary
#7DBC41
accent
#EC3C91
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531989

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

Preview Lab → · Contrast checker → · Palette generator →

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