#531687#531687

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

Color values

HEX#531687
RGBrgb(83, 22, 135)
HSLhsl(272, 72%, 31%)
HSVhsv(272, 84%, 53%)
CMYKcmyk(38.5%, 83.7%, 0%, 47.1%)
CIE-LABlab(24.20, 47.89, -50.29)
CIE-LCHlch(24.20, 69.45, 313.60°)
OKLaboklab(36.85% 0.0926 -0.1436)
OKLCHoklch(36.85% 0.171 302.8)
XYZxyz(8.2263, 4.1621, 23.2869)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531687 #4A8716
analogous
#1A1687 #531687 #871682
triadic
#531687 #875316 #168753
tetradic
#531687 #871A16 #4A8716 #168287
square
#531687 #871A16 #4A8716 #168287
split-complementary
#531687 #828716 #16871A
monochromatic
#12051E #330D52 #531687 #731FBC #9239DF

Accessibility & contrast

On white

11.46
#531687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#531687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531687
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531687#FFFFFF#000000##FFFFFF
##5316871.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#483650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531687;
/* rgb */ color: rgb(83, 22, 135);
/* oklch */ color: oklch(36.9% 0.171 302.8);
Tailwind
colors: {
  custom: {
    50: '#895cab',
    500: '#531687',
    950: '#000000',
  },
}
SCSS
$custom: #531687;
$custom-light: #895cab;
$custom-dark: #000000;
JSON
{
  "hex": "#531687",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 272.389,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36855,
    "c": 0.17089,
    "h": 302.8
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#531687
secondary
#77BB3E
accent
#EF398D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531687

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

Preview Lab → · Contrast checker → · Palette generator →

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