#531B68#531B68

#531B68 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.134 H 315.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#531B68
RGBrgb(83, 27, 104)
HSLhsl(284, 59%, 26%)
HSVhsv(284, 74%, 41%)
CMYKcmyk(20.2%, 74%, 0%, 59.2%)
CIE-LABlab(22.38, 38.58, -33.44)
CIE-LCHlch(22.38, 51.05, 319.09°)
OKLaboklab(34.78% 0.0947 -0.0941)
OKLCHoklch(34.78% 0.134 315.2)
XYZxyz(6.4575, 3.6226, 13.4531)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B68 #30681B
analogous
#2C1B68 #531B68 #681B56
triadic
#531B68 #68531B #1B6853
tetradic
#531B68 #682C1B #30681B #1B5668
square
#531B68 #682C1B #30681B #1B5668
split-complementary
#531B68 #56681B #1B682C
monochromatic
#130618 #2C0E37 #531B68 #7A2899 #A134C9

Accessibility & contrast

On white

12.18
#531B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B68
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B68#FFFFFF#000000##FFFFFF
##531B681.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#512B3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531b68;
/* rgb */ color: rgb(83, 27, 104);
/* oklch */ color: oklch(34.8% 0.134 315.2);
Tailwind
colors: {
  custom: {
    50: '#865d94',
    500: '#531b68',
    950: '#000000',
  },
}
SCSS
$custom: #531b68;
$custom-light: #865d94;
$custom-dark: #000000;
JSON
{
  "hex": "#531b68",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 283.636,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.13354,
    "h": 315.2
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#531B68
secondary
#5B9D42
accent
#E24670
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531B68

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

Preview Lab → · Contrast checker → · Palette generator →

#531B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva