#531886#531886

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

Color values

HEX#531886
RGBrgb(83, 24, 134)
HSLhsl(272, 70%, 31%)
HSVhsv(272, 82%, 53%)
CMYKcmyk(38.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(24.37, 46.91, -49.40)
CIE-LCHlch(24.37, 68.12, 313.52°)
OKLaboklab(36.94% 0.0914 -0.141)
OKLCHoklch(36.94% 0.168 302.9)
XYZxyz(8.1960, 4.2135, 22.9311)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531886 #4B8618
analogous
#1C1886 #531886 #861882
triadic
#531886 #865318 #188653
tetradic
#531886 #861C18 #4B8618 #188286
square
#531886 #861C18 #4B8618 #188286
split-complementary
#531886 #828618 #18861C
monochromatic
#13051E #330F52 #531886 #7321BA #923CDC

Accessibility & contrast

On white

11.40
#531886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531886
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531886#FFFFFF#000000##FFFFFF
##5318861.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#48364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531886;
/* rgb */ color: rgb(83, 24, 134);
/* oklch */ color: oklch(36.9% 0.168 302.9);
Tailwind
colors: {
  custom: {
    50: '#895daa',
    500: '#531886',
    950: '#000000',
  },
}
SCSS
$custom: #531886;
$custom-light: #895daa;
$custom-dark: #000000;
JSON
{
  "hex": "#531886",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 272.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36942,
    "c": 0.16802,
    "h": 302.9
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#531886
secondary
#78BA40
accent
#EC3B8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531886

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

Preview Lab → · Contrast checker → · Palette generator →

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