#531885#531885

#531885 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.167 H 303.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#531885
RGBrgb(83, 24, 133)
HSLhsl(272, 69%, 31%)
HSVhsv(272, 82%, 52%)
CMYKcmyk(37.6%, 82%, 0%, 47.8%)
CIE-LABlab(24.28, 46.67, -48.91)
CIE-LCHlch(24.28, 67.61, 313.65°)
OKLaboklab(36.85% 0.0917 -0.1396)
OKLCHoklch(36.85% 0.167 303.3)
XYZxyz(8.1266, 4.1857, 22.5655)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531885 #4A8518
analogous
#1C1885 #531885 #851880
triadic
#531885 #855318 #188553
tetradic
#531885 #851C18 #4A8518 #188085
square
#531885 #851C18 #4A8518 #188085
split-complementary
#531885 #808518 #18851C
monochromatic
#12051D #330F51 #531885 #7321B9 #923CDC

Accessibility & contrast

On white

11.43
#531885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531885
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531885#FFFFFF#000000##FFFFFF
##5318851.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531885;
/* rgb */ color: rgb(83, 24, 133);
/* oklch */ color: oklch(36.9% 0.167 303.3);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#531885',
    950: '#000000',
  },
}
SCSS
$custom: #531885;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#531885",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 272.477,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.167,
    "h": 303.3
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#531885
secondary
#77B940
accent
#EC3C8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531885

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

Preview Lab → · Contrast checker → · Palette generator →

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