#531481#531481

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

Color values

HEX#531481
RGBrgb(83, 20, 129)
HSLhsl(275, 73%, 29%)
HSVhsv(275, 84%, 51%)
CMYKcmyk(35.7%, 84.5%, 0%, 49.4%)
CIE-LABlab(23.42, 47.17, -47.79)
CIE-LCHlch(23.42, 67.15, 314.63°)
OKLaboklab(36.15% 0.096 -0.1362)
OKLCHoklch(36.15% 0.167 305.2)
XYZxyz(7.7790, 3.9243, 21.1123)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531481 #428114
analogous
#1D1481 #531481 #811479
triadic
#531481 #815314 #148153
tetradic
#531481 #811D14 #428114 #147981
square
#531481 #811D14 #428114 #147981
split-complementary
#531481 #798114 #14811D
monochromatic
#11041A #310C4C #531481 #751CB6 #9530DF

Accessibility & contrast

On white

11.77
#531481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531481
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531481#FFFFFF#000000##FFFFFF
##5314811.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#4A324C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531481;
/* rgb */ color: rgb(83, 20, 129);
/* oklch */ color: oklch(36.1% 0.167 305.2);
Tailwind
colors: {
  custom: {
    50: '#895ba6',
    500: '#531481',
    950: '#000000',
  },
}
SCSS
$custom: #531481;
$custom-light: #895ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#531481",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 274.679,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36147,
    "c": 0.16669,
    "h": 305.2
  },
  "luminance": 0.03924
}

Semantic roles & 50–950 ramp

primary
#531481
secondary
#6FB63B
accent
#F03886
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531481

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

Preview Lab → · Contrast checker → · Palette generator →

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