#531576#531576

#531576 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.155 H 309.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#531576
RGBrgb(83, 21, 118)
HSLhsl(278, 70%, 27%)
HSVhsv(278, 82%, 46%)
CMYKcmyk(29.7%, 82.2%, 0%, 53.7%)
CIE-LABlab(22.60, 44.26, -42.14)
CIE-LCHlch(22.60, 61.11, 316.41°)
OKLaboklab(35.28% 0.0983 -0.1196)
OKLCHoklch(35.28% 0.155 309.4)
XYZxyz(7.1048, 3.6835, 17.4727)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531576 #387615
analogous
#231576 #531576 #761568
triadic
#531576 #765315 #157653
tetradic
#531576 #762315 #387615 #156876
square
#531576 #762315 #387615 #156876
split-complementary
#531576 #687615 #157623
monochromatic
#12051A #2E0C42 #531576 #781EAA #9B2CD9

Accessibility & contrast

On white

12.09
#531576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531576
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531576#FFFFFF#000000##FFFFFF
##5315761.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#4E2E46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531576;
/* rgb */ color: rgb(83, 21, 118);
/* oklch */ color: oklch(35.3% 0.155 309.4);
Tailwind
colors: {
  custom: {
    50: '#885b9e',
    500: '#531576',
    950: '#000000',
  },
}
SCSS
$custom: #531576;
$custom-light: #885b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531576",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 278.351,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.15486,
    "h": 309.4
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#531576
secondary
#64AC3B
accent
#ED3B7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531576

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

Preview Lab → · Contrast checker → · Palette generator →

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