#531967#531967

#531967 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.135 H 315.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#531967
RGBrgb(83, 25, 103)
HSLhsl(285, 61%, 25%)
HSVhsv(285, 76%, 40%)
CMYKcmyk(19.4%, 75.7%, 0%, 59.6%)
CIE-LABlab(21.99, 39.25, -33.41)
CIE-LCHlch(21.99, 51.54, 319.60°)
OKLaboklab(34.49% 0.0971 -0.094)
OKLCHoklch(34.49% 0.135 315.9)
XYZxyz(6.3627, 3.5138, 13.1724)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531967 #2D6719
analogous
#2C1967 #531967 #671954
triadic
#531967 #675319 #196753
tetradic
#531967 #672C19 #2D6719 #195467
square
#531967 #672C19 #2D6719 #195467
split-complementary
#531967 #546719 #19672C
monochromatic
#140619 #2B0D36 #531967 #7B2598 #A231C9

Accessibility & contrast

On white

12.33
#531967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531967
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531967#FFFFFF#000000##FFFFFF
##5319671.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#52293E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531967;
/* rgb */ color: rgb(83, 25, 103);
/* oklch */ color: oklch(34.5% 0.135 315.9);
Tailwind
colors: {
  custom: {
    50: '#865c93',
    500: '#531967',
    950: '#000000',
  },
}
SCSS
$custom: #531967;
$custom-light: #865c93;
$custom-dark: #000000;
JSON
{
  "hex": "#531967",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 284.615,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34485,
    "c": 0.13517,
    "h": 315.9
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#531967
secondary
#579D3F
accent
#E4446D
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531967

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

Preview Lab → · Contrast checker → · Palette generator →

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