#531480#531480

#531480 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.166 H 305.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#531480
RGBrgb(83, 20, 128)
HSLhsl(275, 73%, 29%)
HSVhsv(275, 84%, 50%)
CMYKcmyk(35.2%, 84.4%, 0%, 49.8%)
CIE-LABlab(23.33, 46.94, -47.31)
CIE-LCHlch(23.33, 66.64, 314.78°)
OKLaboklab(36.06% 0.0963 -0.1348)
OKLCHoklch(36.06% 0.166 305.5)
XYZxyz(7.7128, 3.8979, 20.7639)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531480 #418014
analogous
#1D1480 #531480 #801477
triadic
#531480 #805314 #148053
tetradic
#531480 #801D14 #418014 #147780
square
#531480 #801D14 #418014 #147780
split-complementary
#531480 #778014 #14801D
monochromatic
#11041A #310C4B #531480 #751CB5 #9630DF

Accessibility & contrast

On white

11.80
#531480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#531480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531480
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531480#FFFFFF#000000##FFFFFF
##5314801.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531480;
/* rgb */ color: rgb(83, 20, 128);
/* oklch */ color: oklch(36.1% 0.166 305.5);
Tailwind
colors: {
  custom: {
    50: '#895ba6',
    500: '#531480',
    950: '#000000',
  },
}
SCSS
$custom: #531480;
$custom-light: #895ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#531480",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 275,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36058,
    "c": 0.1657,
    "h": 305.5
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#531480
secondary
#6EB53B
accent
#F03885
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531480

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

Preview Lab → · Contrast checker → · Palette generator →

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