#531A83#531A83

#531A83 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.163 H 303.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#531A83
RGBrgb(83, 26, 131)
HSLhsl(273, 67%, 31%)
HSVhsv(273, 80%, 51%)
CMYKcmyk(36.6%, 80.2%, 0%, 48.6%)
CIE-LABlab(24.37, 45.39, -47.50)
CIE-LCHlch(24.37, 65.70, 313.70°)
OKLaboklab(36.87% 0.0906 -0.1354)
OKLCHoklch(36.87% 0.163 303.8)
XYZxyz(8.0325, 4.2165, 21.8590)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A83 #4A831A
analogous
#1E1A83 #531A83 #831A7E
triadic
#531A83 #83531A #1A8353
tetradic
#531A83 #831E1A #4A831A #1A7E83
square
#531A83 #831E1A #4A831A #1A7E83
split-complementary
#531A83 #7E831A #1A831E
monochromatic
#12061D #331050 #531A83 #7324B6 #923FD9

Accessibility & contrast

On white

11.39
#531A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A83
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A83#FFFFFF#000000##FFFFFF
##531A831.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#49364E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531a83;
/* rgb */ color: rgb(83, 26, 131);
/* oklch */ color: oklch(36.9% 0.163 303.8);
Tailwind
colors: {
  custom: {
    50: '#895ea8',
    500: '#531a83',
    950: '#000000',
  },
}
SCSS
$custom: #531a83;
$custom-light: #895ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#531a83",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 272.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.16291,
    "h": 303.8
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#531A83
secondary
#77B742
accent
#EA3E8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531A83

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

Preview Lab → · Contrast checker → · Palette generator →

#531A83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva