#531686#531686

#531686 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.170 H 303.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#531686
RGBrgb(83, 22, 134)
HSLhsl(273, 72%, 31%)
HSVhsv(273, 84%, 53%)
CMYKcmyk(38.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(24.11, 47.65, -49.81)
CIE-LCHlch(24.11, 68.94, 313.73°)
OKLaboklab(36.76% 0.0929 -0.1422)
OKLCHoklch(36.76% 0.17 303.2)
XYZxyz(8.1562, 4.1340, 22.9179)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531686 #498616
analogous
#1B1686 #531686 #861681
triadic
#531686 #865316 #168653
tetradic
#531686 #861B16 #498616 #168186
square
#531686 #861B16 #498616 #168186
split-complementary
#531686 #818616 #16861B
monochromatic
#12051D #320D51 #531686 #741FBB #9338DE

Accessibility & contrast

On white

11.50
#531686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531686
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531686#FFFFFF#000000##FFFFFF
##5316861.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#48354F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531686;
/* rgb */ color: rgb(83, 22, 134);
/* oklch */ color: oklch(36.8% 0.170 303.2);
Tailwind
colors: {
  custom: {
    50: '#895caa',
    500: '#531686',
    950: '#000000',
  },
}
SCSS
$custom: #531686;
$custom-light: #895caa;
$custom-dark: #000000;
JSON
{
  "hex": "#531686",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 272.679,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36764,
    "c": 0.16988,
    "h": 303.2
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#531686
secondary
#76BA3E
accent
#EF398C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531686

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

Preview Lab → · Contrast checker → · Palette generator →

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