#531773#531773

#531773 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 310.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#531773
RGBrgb(83, 23, 115)
HSLhsl(279, 67%, 27%)
HSVhsv(279, 80%, 45%)
CMYKcmyk(27.8%, 80%, 0%, 54.9%)
CIE-LABlab(22.62, 42.80, -40.18)
CIE-LCHlch(22.62, 58.70, 316.81°)
OKLaboklab(35.22% 0.0972 -0.1139)
OKLCHoklch(35.22% 0.15 310.5)
XYZxyz(6.9676, 3.6898, 16.5615)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531773 #377317
analogous
#251773 #531773 #731765
triadic
#531773 #735317 #177353
tetradic
#531773 #732517 #377317 #176573
square
#531773 #732517 #377317 #176573
split-complementary
#531773 #657317 #177325
monochromatic
#12051A #2E0D40 #531773 #7821A6 #9C2FD5

Accessibility & contrast

On white

12.08
#531773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531773
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531773#FFFFFF#000000##FFFFFF
##5317731.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#4F2D44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531773;
/* rgb */ color: rgb(83, 23, 115);
/* oklch */ color: oklch(35.2% 0.150 310.5);
Tailwind
colors: {
  custom: {
    50: '#875c9c',
    500: '#531773',
    950: '#000000',
  },
}
SCSS
$custom: #531773;
$custom-light: #875c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531773",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 279.13,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35217,
    "c": 0.14974,
    "h": 310.5
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#531773
secondary
#63A93D
accent
#EA3E7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531773

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

Preview Lab → · Contrast checker → · Palette generator →

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