#531280#531280

#531280 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.167 H 305.7°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#531280
RGBrgb(83, 18, 128)
HSLhsl(275, 75%, 29%)
HSVhsv(275, 86%, 50%)
CMYKcmyk(35.2%, 85.9%, 0%, 49.8%)
CIE-LABlab(23.10, 47.61, -47.68)
CIE-LCHlch(23.10, 67.38, 314.96°)
OKLaboklab(35.9% 0.0978 -0.1359)
OKLCHoklch(35.9% 0.167 305.7)
XYZxyz(7.6790, 3.8302, 20.7526)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531280 #3F8012
analogous
#1C1280 #531280 #801276
triadic
#531280 #805312 #128053
tetradic
#531280 #801C12 #3F8012 #127680
square
#531280 #801C12 #3F8012 #127680
split-complementary
#531280 #768012 #12801C
monochromatic
#11041B #300A4A #531280 #761AB6 #972BE1

Accessibility & contrast

On white

11.89
#531280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#531280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531280
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531280#FFFFFF#000000##FFFFFF
##5312801.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#4B314B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531280;
/* rgb */ color: rgb(83, 18, 128);
/* oklch */ color: oklch(35.9% 0.167 305.7);
Tailwind
colors: {
  custom: {
    50: '#895aa6',
    500: '#531280',
    950: '#000000',
  },
}
SCSS
$custom: #531280;
$custom-light: #895aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#531280",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 275.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.16744,
    "h": 305.7
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#531280
secondary
#6BB638
accent
#F23683
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531280

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

Preview Lab → · Contrast checker → · Palette generator →

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