#531880#531880

#531880 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.162 H 305.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#531880
RGBrgb(83, 24, 128)
HSLhsl(274, 68%, 30%)
HSVhsv(274, 81%, 50%)
CMYKcmyk(35.2%, 81.3%, 0%, 49.8%)
CIE-LABlab(23.84, 45.46, -46.48)
CIE-LCHlch(23.84, 65.02, 314.37°)
OKLaboklab(36.41% 0.0931 -0.1324)
OKLCHoklch(36.41% 0.162 305.1)
XYZxyz(7.7893, 4.0508, 20.7894)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531880 #458018
analogous
#1F1880 #531880 #801879
triadic
#531880 #805318 #188053
tetradic
#531880 #801F18 #458018 #187980
square
#531880 #801F18 #458018 #187980
split-complementary
#531880 #798018 #18801F
monochromatic
#11051A #320E4C #531880 #7422B4 #9439DA

Accessibility & contrast

On white

11.60
#531880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#531880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531880
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531880#FFFFFF#000000##FFFFFF
##5318801.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531880;
/* rgb */ color: rgb(83, 24, 128);
/* oklch */ color: oklch(36.4% 0.162 305.1);
Tailwind
colors: {
  custom: {
    50: '#885da6',
    500: '#531880',
    950: '#000000',
  },
}
SCSS
$custom: #531880;
$custom-light: #885da6;
$custom-dark: #000000;
JSON
{
  "hex": "#531880",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 274.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.16188,
    "h": 305.1
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#531880
secondary
#72B440
accent
#EB3D88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531880

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

Preview Lab → · Contrast checker → · Palette generator →

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