#531577#531577

#531577 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.156 H 309.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#531577
RGBrgb(83, 21, 119)
HSLhsl(278, 70%, 27%)
HSVhsv(278, 82%, 47%)
CMYKcmyk(30.3%, 82.4%, 0%, 53.3%)
CIE-LABlab(22.68, 44.49, -42.64)
CIE-LCHlch(22.68, 61.63, 316.21°)
OKLaboklab(35.36% 0.0981 -0.1211)
OKLCHoklch(35.36% 0.156 309)
XYZxyz(7.1645, 3.7074, 17.7874)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531577 #397715
analogous
#221577 #531577 #77156A
triadic
#531577 #775315 #157753
tetradic
#531577 #772215 #397715 #156A77
square
#531577 #772215 #397715 #156A77
split-complementary
#531577 #6A7715 #157722
monochromatic
#12051A #2F0C43 #531577 #771EAB #9A2DDA

Accessibility & contrast

On white

12.06
#531577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531577
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531577#FFFFFF#000000##FFFFFF
##5315771.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#4D2E46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531577;
/* rgb */ color: rgb(83, 21, 119);
/* oklch */ color: oklch(35.4% 0.156 309.0);
Tailwind
colors: {
  custom: {
    50: '#885b9f',
    500: '#531577',
    950: '#000000',
  },
}
SCSS
$custom: #531577;
$custom-light: #885b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531577",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 277.959,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.15585,
    "h": 309
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#531577
secondary
#65AD3B
accent
#ED3B7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531577

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

Preview Lab → · Contrast checker → · Palette generator →

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