#531673#531673

#531673 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.151 H 310.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#531673
RGBrgb(83, 22, 115)
HSLhsl(279, 68%, 27%)
HSVhsv(279, 81%, 45%)
CMYKcmyk(27.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(22.48, 43.19, -40.40)
CIE-LCHlch(22.48, 59.14, 316.92°)
OKLaboklab(35.12% 0.0981 -0.1145)
OKLCHoklch(35.12% 0.151 310.6)
XYZxyz(6.9481, 3.6508, 16.5550)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531673 #367316
analogous
#251673 #531673 #731665
triadic
#531673 #735316 #167353
tetradic
#531673 #732516 #367316 #166573
square
#531673 #732516 #367316 #166573
split-complementary
#531673 #657316 #167325
monochromatic
#13051A #2E0C40 #531673 #7820A6 #9C2DD7

Accessibility & contrast

On white

12.14
#531673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531673
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531673#FFFFFF#000000##FFFFFF
##5316731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.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: #531673;
/* rgb */ color: rgb(83, 22, 115);
/* oklch */ color: oklch(35.1% 0.151 310.6);
Tailwind
colors: {
  custom: {
    50: '#875b9c',
    500: '#531673',
    950: '#000000',
  },
}
SCSS
$custom: #531673;
$custom-light: #875b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531673",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 279.355,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35121,
    "c": 0.15083,
    "h": 310.6
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#531673
secondary
#61A93C
accent
#EB3D79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531673

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

Preview Lab → · Contrast checker → · Palette generator →

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