#531785#531785

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

Color values

HEX#531785
RGBrgb(83, 23, 133)
HSLhsl(273, 71%, 31%)
HSVhsv(273, 83%, 52%)
CMYKcmyk(37.6%, 82.7%, 0%, 47.8%)
CIE-LABlab(24.15, 47.05, -49.13)
CIE-LCHlch(24.15, 68.02, 313.76°)
OKLaboklab(36.76% 0.0925 -0.1402)
OKLCHoklch(36.76% 0.168 303.4)
XYZxyz(8.1063, 4.1453, 22.5588)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531785 #498517
analogous
#1C1785 #531785 #851780
triadic
#531785 #855317 #178553
tetradic
#531785 #851C17 #498517 #178085
square
#531785 #851C17 #498517 #178085
split-complementary
#531785 #808517 #17851C
monochromatic
#12051D #320E51 #531785 #7420B9 #933ADD

Accessibility & contrast

On white

11.48
#531785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531785
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531785#FFFFFF#000000##FFFFFF
##5317851.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#49354F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531785;
/* rgb */ color: rgb(83, 23, 133);
/* oklch */ color: oklch(36.8% 0.168 303.4);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#531785',
    950: '#000000',
  },
}
SCSS
$custom: #531785;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#531785",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 272.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.16795,
    "h": 303.4
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#531785
secondary
#76B93F
accent
#ED3B8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531785

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

Preview Lab → · Contrast checker → · Palette generator →

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