#531672#531672

#531672 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.150 H 311.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#531672
RGBrgb(83, 22, 114)
HSLhsl(280, 68%, 27%)
HSVhsv(280, 81%, 45%)
CMYKcmyk(27.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(22.40, 42.97, -39.89)
CIE-LCHlch(22.40, 58.63, 317.13°)
OKLaboklab(35.04% 0.0984 -0.113)
OKLCHoklch(35.04% 0.15 311)
XYZxyz(6.8909, 3.6279, 16.2536)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531672 #357216
analogous
#251672 #531672 #721663
triadic
#531672 #725316 #167253
tetradic
#531672 #722516 #357216 #166372
square
#531672 #722516 #357216 #166372
split-complementary
#531672 #637216 #167225
monochromatic
#13051A #2E0C3F #531672 #7820A5 #9D2CD6

Accessibility & contrast

On white

12.17
#531672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531672
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531672#FFFFFF#000000##FFFFFF
##5316721.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#013770
Tritanopia (blue-blind)
#4F2C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531672;
/* rgb */ color: rgb(83, 22, 114);
/* oklch */ color: oklch(35.0% 0.150 311.0);
Tailwind
colors: {
  custom: {
    50: '#875b9b',
    500: '#531672',
    950: '#000000',
  },
}
SCSS
$custom: #531672;
$custom-light: #875b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#531672",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 279.783,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.14983,
    "h": 311
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#531672
secondary
#60A83C
accent
#EB3D78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531672

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

Preview Lab → · Contrast checker → · Palette generator →

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