#531782#531782

#531782 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.165 H 304.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#531782
RGBrgb(83, 23, 130)
HSLhsl(274, 70%, 30%)
HSVhsv(274, 82%, 51%)
CMYKcmyk(36.2%, 82.3%, 0%, 49%)
CIE-LABlab(23.88, 46.33, -47.67)
CIE-LCHlch(23.88, 66.47, 314.18°)
OKLaboklab(36.49% 0.0934 -0.1359)
OKLCHoklch(36.49% 0.165 304.5)
XYZxyz(7.9020, 4.0635, 21.4828)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531782 #468217
analogous
#1E1782 #531782 #82177B
triadic
#531782 #825317 #178253
tetradic
#531782 #821E17 #468217 #177B82
square
#531782 #821E17 #468217 #177B82
split-complementary
#531782 #7B8217 #17821E
monochromatic
#11051A #320E4E #531782 #7420B6 #9438DC

Accessibility & contrast

On white

11.59
#531782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#531782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531782
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531782#FFFFFF#000000##FFFFFF
##5317821.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#4A344D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531782;
/* rgb */ color: rgb(83, 23, 130);
/* oklch */ color: oklch(36.5% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#895ca7',
    500: '#531782',
    950: '#000000',
  },
}
SCSS
$custom: #531782;
$custom-light: #895ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#531782",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 273.645,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.36494,
    "c": 0.16491,
    "h": 304.5
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#531782
secondary
#73B63E
accent
#ED3B89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531782

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

Preview Lab → · Contrast checker → · Palette generator →

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