#531777#531777

#531777 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.154 H 308.8°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#531777
RGBrgb(83, 23, 119)
HSLhsl(278, 68%, 28%)
HSVhsv(278, 81%, 47%)
CMYKcmyk(30.3%, 80.7%, 0%, 53.3%)
CIE-LABlab(22.94, 43.73, -42.21)
CIE-LCHlch(22.94, 60.78, 316.01°)
OKLaboklab(35.55% 0.0963 -0.1199)
OKLCHoklch(35.55% 0.154 308.8)
XYZxyz(7.2028, 3.7838, 17.8001)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531777 #3B7717
analogous
#231777 #531777 #77176B
triadic
#531777 #775317 #177753
tetradic
#531777 #772317 #3B7717 #176B77
square
#531777 #772317 #3B7717 #176B77
split-complementary
#531777 #6B7717 #177723
monochromatic
#12051A #2F0D44 #531777 #7721AA #9931D7

Accessibility & contrast

On white

11.95
#531777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#531777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531777
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531777#FFFFFF#000000##FFFFFF
##5317771.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531777;
/* rgb */ color: rgb(83, 23, 119);
/* oklch */ color: oklch(35.5% 0.154 308.8);
Tailwind
colors: {
  custom: {
    50: '#885c9f',
    500: '#531777',
    950: '#000000',
  },
}
SCSS
$custom: #531777;
$custom-light: #885c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531777",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 277.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.15377,
    "h": 308.8
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#531777
secondary
#67AC3E
accent
#EA3D7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531777

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

Preview Lab → · Contrast checker → · Palette generator →

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