#531A85#531A85

#531A85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.165 H 303.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#531A85
RGBrgb(83, 26, 133)
HSLhsl(272, 67%, 31%)
HSVhsv(272, 80%, 52%)
CMYKcmyk(37.6%, 80.5%, 0%, 47.8%)
CIE-LABlab(24.55, 45.88, -48.47)
CIE-LCHlch(24.55, 66.74, 313.43°)
OKLaboklab(37.04% 0.09 -0.1383)
OKLCHoklch(37.04% 0.165 303.1)
XYZxyz(8.1693, 4.2712, 22.5798)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A85 #4C851A
analogous
#1D1A85 #531A85 #851A81
triadic
#531A85 #85531A #1A8553
tetradic
#531A85 #851D1A #4C851A #1A8185
square
#531A85 #851D1A #4C851A #1A8185
split-complementary
#531A85 #81851A #1A851D
monochromatic
#13061F #331052 #531A85 #7324B8 #9240DA

Accessibility & contrast

On white

11.33
#531A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A85
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A85#FFFFFF#000000##FFFFFF
##531A851.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#49364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531a85;
/* rgb */ color: rgb(83, 26, 133);
/* oklch */ color: oklch(37.0% 0.165 303.1);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#531a85',
    950: '#000000',
  },
}
SCSS
$custom: #531a85;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#531a85",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 271.963,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37042,
    "c": 0.165,
    "h": 303.1
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#531A85
secondary
#7AB842
accent
#EA3E8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531A85

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

Preview Lab → · Contrast checker → · Palette generator →

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