#531668#531668

#531668 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.140 H 315.7°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#531668
RGBrgb(83, 22, 104)
HSLhsl(285, 65%, 25%)
HSVhsv(285, 79%, 41%)
CMYKcmyk(20.2%, 78.8%, 0%, 59.2%)
CIE-LABlab(21.63, 40.73, -34.66)
CIE-LCHlch(21.63, 53.48, 319.61°)
OKLaboklab(34.25% 0.1002 -0.0977)
OKLCHoklch(34.25% 0.14 315.7)
XYZxyz(6.3525, 3.4125, 13.4181)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531668 #2B6816
analogous
#2A1668 #531668 #681654
triadic
#531668 #685316 #166853
tetradic
#531668 #682A16 #2B6816 #165468
square
#531668 #682A16 #2B6816 #165468
split-complementary
#531668 #546816 #16682A
monochromatic
#140519 #2B0B35 #531668 #7B219B #A42BCD

Accessibility & contrast

On white

12.48
#531668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#531668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531668
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531668#FFFFFF#000000##FFFFFF
##5316681.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#143566
Tritanopia (blue-blind)
#51283E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531668;
/* rgb */ color: rgb(83, 22, 104);
/* oklch */ color: oklch(34.2% 0.140 315.7);
Tailwind
colors: {
  custom: {
    50: '#875a94',
    500: '#531668',
    950: '#000000',
  },
}
SCSS
$custom: #531668;
$custom-light: #875a94;
$custom-dark: #000000;
JSON
{
  "hex": "#531668",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 284.634,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.13991,
    "h": 315.7
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#531668
secondary
#559F3B
accent
#E8406B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531668

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

Preview Lab → · Contrast checker → · Palette generator →

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