#531990#531990

#531990 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.177 H 299.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#531990
RGBrgb(83, 25, 144)
HSLhsl(269, 70%, 33%)
HSVhsv(269, 83%, 56%)
CMYKcmyk(42.4%, 82.6%, 0%, 43.5%)
CIE-LABlab(25.41, 48.98, -53.93)
CIE-LCHlch(25.41, 72.85, 312.25°)
OKLaboklab(37.94% 0.0875 -0.1543)
OKLCHoklch(37.94% 0.177 299.5)
XYZxyz(8.9477, 4.5478, 26.7865)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531990 #569019
analogous
#191A90 #531990 #8E1990
triadic
#531990 #905319 #199053
tetradic
#531990 #90191A #569019 #19908E
square
#531990 #90191A #569019 #19908E
split-complementary
#531990 #908E19 #1A9019
monochromatic
#170728 #35105C #531990 #7122C4 #9045DF

Accessibility & contrast

On white

11.00
#531990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531990
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531990#FFFFFF#000000##FFFFFF
##5319901.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#443B55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531990;
/* rgb */ color: rgb(83, 25, 144);
/* oklch */ color: oklch(37.9% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#8a5eb2',
    500: '#531990',
    950: '#000000',
  },
}
SCSS
$custom: #531990;
$custom-light: #8a5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#531990",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 269.244,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37944,
    "c": 0.17737,
    "h": 299.5
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#531990
secondary
#84C045
accent
#ED3B96
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531990

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

Preview Lab → · Contrast checker → · Palette generator →

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