#531780#531780

#531780 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.163 H 305.2°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#531780
RGBrgb(83, 23, 128)
HSLhsl(274, 70%, 30%)
HSVhsv(274, 82%, 50%)
CMYKcmyk(35.2%, 82%, 0%, 49.8%)
CIE-LABlab(23.71, 45.85, -46.70)
CIE-LCHlch(23.71, 65.44, 314.48°)
OKLaboklab(36.32% 0.094 -0.133)
OKLCHoklch(36.32% 0.163 305.2)
XYZxyz(7.7691, 4.0104, 20.7827)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531780 #448017
analogous
#1F1780 #531780 #801778
triadic
#531780 #805317 #178053
tetradic
#531780 #801F17 #448017 #177880
square
#531780 #801F17 #448017 #177880
split-complementary
#531780 #788017 #17801F
monochromatic
#11051A #310E4C #531780 #7520B4 #9436DB

Accessibility & contrast

On white

11.65
#531780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#531780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531780
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531780#FFFFFF#000000##FFFFFF
##5317801.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#4A334C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531780;
/* rgb */ color: rgb(83, 23, 128);
/* oklch */ color: oklch(36.3% 0.163 305.2);
Tailwind
colors: {
  custom: {
    50: '#885ca6',
    500: '#531780',
    950: '#000000',
  },
}
SCSS
$custom: #531780;
$custom-light: #885ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#531780",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 274.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.16288,
    "h": 305.2
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#531780
secondary
#71B43E
accent
#EC3B87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531780

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

Preview Lab → · Contrast checker → · Palette generator →

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