#531A76#531A76

#531A76 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.149 H 308.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#531A76
RGBrgb(83, 26, 118)
HSLhsl(277, 64%, 28%)
HSVhsv(277, 78%, 46%)
CMYKcmyk(29.7%, 78%, 0%, 53.7%)
CIE-LABlab(23.29, 42.26, -41.01)
CIE-LCHlch(23.29, 58.89, 315.86°)
OKLaboklab(35.77% 0.0937 -0.1164)
OKLCHoklch(35.77% 0.149 308.8)
XYZxyz(7.2060, 3.8859, 17.5065)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A76 #3D761A
analogous
#251A76 #531A76 #761A6B
triadic
#531A76 #76531A #1A7653
tetradic
#531A76 #76251A #3D761A #1A6B76
square
#531A76 #76251A #3D761A #1A6B76
split-complementary
#531A76 #6B761A #1A7625
monochromatic
#120619 #300F44 #531A76 #7625A8 #9837D3

Accessibility & contrast

On white

11.82
#531A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#531A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A76
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A76#FFFFFF#000000##FFFFFF
##531A761.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#4E3047
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531a76;
/* rgb */ color: rgb(83, 26, 118);
/* oklch */ color: oklch(35.8% 0.149 308.8);
Tailwind
colors: {
  custom: {
    50: '#875d9e',
    500: '#531a76',
    950: '#000000',
  },
}
SCSS
$custom: #531a76;
$custom-light: #875d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531a76",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 277.174,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.14937,
    "h": 308.8
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#531A76
secondary
#69AB41
accent
#E74180
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531A76

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

Preview Lab → · Contrast checker → · Palette generator →

#531A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva