#531976#531976

#531976 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.151 H 309.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#531976
RGBrgb(83, 25, 118)
HSLhsl(277, 65%, 28%)
HSVhsv(277, 79%, 46%)
CMYKcmyk(29.7%, 78.8%, 0%, 53.7%)
CIE-LABlab(23.14, 42.69, -41.25)
CIE-LCHlch(23.14, 59.36, 315.98°)
OKLaboklab(35.66% 0.0946 -0.1171)
OKLCHoklch(35.66% 0.151 309)
XYZxyz(7.1843, 3.8424, 17.4992)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531976 #3C7619
analogous
#241976 #531976 #76196A
triadic
#531976 #765319 #197653
tetradic
#531976 #762419 #3C7619 #196A76
square
#531976 #762419 #3C7619 #196A76
split-complementary
#531976 #6A7619 #197624
monochromatic
#120519 #2F0E43 #531976 #7724A8 #9835D4

Accessibility & contrast

On white

11.88
#531976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#531976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531976
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531976#FFFFFF#000000##FFFFFF
##5319761.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.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: #531976;
/* rgb */ color: rgb(83, 25, 118);
/* oklch */ color: oklch(35.7% 0.151 309.0);
Tailwind
colors: {
  custom: {
    50: '#875d9e',
    500: '#531976',
    950: '#000000',
  },
}
SCSS
$custom: #531976;
$custom-light: #875d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531976",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 277.419,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35663,
    "c": 0.15053,
    "h": 309
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#531976
secondary
#68AB40
accent
#E8407F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531976

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

Preview Lab → · Contrast checker → · Palette generator →

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