#531D76#531D76

#531D76 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.146 H 308.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#531D76
RGBrgb(83, 29, 118)
HSLhsl(276, 61%, 29%)
HSVhsv(276, 75%, 46%)
CMYKcmyk(29.7%, 75.4%, 0%, 53.7%)
CIE-LABlab(23.76, 40.94, -40.26)
CIE-LCHlch(23.76, 57.41, 315.48°)
OKLaboklab(36.1% 0.0906 -0.1142)
OKLCHoklch(36.1% 0.146 308.4)
XYZxyz(7.2760, 4.0259, 17.5298)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D76 #40761D
analogous
#271D76 #531D76 #761D6D
triadic
#531D76 #76531D #1D7653
tetradic
#531D76 #76271D #40761D #1D6D76
square
#531D76 #76271D #40761D #1D6D76
split-complementary
#531D76 #6D761D #1D7627
monochromatic
#110619 #301145 #531D76 #7629A7 #963ED0

Accessibility & contrast

On white

11.63
#531D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#531D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D76
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D76#FFFFFF#000000##FFFFFF
##531D761.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#033974
Tritanopia (blue-blind)
#4E3248
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531d76;
/* rgb */ color: rgb(83, 29, 118);
/* oklch */ color: oklch(36.1% 0.146 308.4);
Tailwind
colors: {
  custom: {
    50: '#875f9e',
    500: '#531d76',
    950: '#000000',
  },
}
SCSS
$custom: #531d76;
$custom-light: #875f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531d76",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 276.404,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.14572,
    "h": 308.4
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#531D76
secondary
#6DAA45
accent
#E44483
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #531D76

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

Preview Lab → · Contrast checker → · Palette generator →

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