#531980#531980

#531980 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.161 H 305.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#531980
RGBrgb(83, 25, 128)
HSLhsl(274, 67%, 30%)
HSVhsv(274, 80%, 50%)
CMYKcmyk(35.2%, 80.5%, 0%, 49.8%)
CIE-LABlab(23.98, 45.07, -46.25)
CIE-LCHlch(23.98, 64.58, 314.25°)
OKLaboklab(36.51% 0.0922 -0.1318)
OKLCHoklch(36.51% 0.161 305)
XYZxyz(7.8103, 4.0928, 20.7964)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531980 #468019
analogous
#1F1980 #531980 #80197A
triadic
#531980 #805319 #198053
tetradic
#531980 #801F19 #468019 #197A80
square
#531980 #801F19 #468019 #197A80
split-complementary
#531980 #7A8019 #19801F
monochromatic
#11051A #320F4D #531980 #7423B3 #943BD9

Accessibility & contrast

On white

11.55
#531980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#531980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531980
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531980#FFFFFF#000000##FFFFFF
##5319801.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4A344C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531980;
/* rgb */ color: rgb(83, 25, 128);
/* oklch */ color: oklch(36.5% 0.161 305.0);
Tailwind
colors: {
  custom: {
    50: '#885da6',
    500: '#531980',
    950: '#000000',
  },
}
SCSS
$custom: #531980;
$custom-light: #885da6;
$custom-dark: #000000;
JSON
{
  "hex": "#531980",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 273.786,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.16085,
    "h": 305
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#531980
secondary
#73B441
accent
#EA3E89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531980

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

Preview Lab → · Contrast checker → · Palette generator →

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