#531877#531877

#531877 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.153 H 308.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#531877
RGBrgb(83, 24, 119)
HSLhsl(277, 66%, 28%)
HSVhsv(277, 80%, 47%)
CMYKcmyk(30.3%, 79.8%, 0%, 53.3%)
CIE-LABlab(23.08, 43.33, -41.99)
CIE-LCHlch(23.08, 60.34, 315.90°)
OKLaboklab(35.64% 0.0954 -0.1192)
OKLCHoklch(35.64% 0.153 308.7)
XYZxyz(7.2230, 3.8243, 17.8068)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531877 #3C7718
analogous
#231877 #531877 #77186B
triadic
#531877 #775318 #187753
tetradic
#531877 #772318 #3C7718 #186B77
square
#531877 #772318 #3C7718 #186B77
split-complementary
#531877 #6B7718 #187723
monochromatic
#120519 #2F0E44 #531877 #7722AA #9833D6

Accessibility & contrast

On white

11.90
#531877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531877
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531877#FFFFFF#000000##FFFFFF
##5318771.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531877;
/* rgb */ color: rgb(83, 24, 119);
/* oklch */ color: oklch(35.6% 0.153 308.7);
Tailwind
colors: {
  custom: {
    50: '#885c9f',
    500: '#531877',
    950: '#000000',
  },
}
SCSS
$custom: #531877;
$custom-light: #885c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531877",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 277.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.15268,
    "h": 308.7
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#531877
secondary
#68AC3F
accent
#E93E7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531877

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

Preview Lab → · Contrast checker → · Palette generator →

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