#531879#531879

#531879 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.155 H 307.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#531879
RGBrgb(83, 24, 121)
HSLhsl(276, 67%, 28%)
HSVhsv(276, 80%, 47%)
CMYKcmyk(31.4%, 80.2%, 0%, 52.5%)
CIE-LABlab(23.25, 43.80, -43.00)
CIE-LCHlch(23.25, 61.38, 315.53°)
OKLaboklab(35.81% 0.0949 -0.1222)
OKLCHoklch(35.81% 0.155 307.8)
XYZxyz(7.3444, 3.8729, 18.4461)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531879 #3E7918
analogous
#221879 #531879 #79186E
triadic
#531879 #795318 #187953
tetradic
#531879 #792218 #3E7918 #186E79
square
#531879 #792218 #3E7918 #186E79
split-complementary
#531879 #6E7918 #187922
monochromatic
#12051A #300E46 #531879 #7622AC #9735D7

Accessibility & contrast

On white

11.83
#531879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531879
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531879#FFFFFF#000000##FFFFFF
##5318791.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#4D3048
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531879;
/* rgb */ color: rgb(83, 24, 121);
/* oklch */ color: oklch(35.8% 0.155 307.8);
Tailwind
colors: {
  custom: {
    50: '#885ca0',
    500: '#531879',
    950: '#000000',
  },
}
SCSS
$custom: #531879;
$custom-light: #885ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#531879",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 276.495,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.15473,
    "h": 307.8
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#531879
secondary
#6AAE3F
accent
#EA3E81
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531879

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

Preview Lab → · Contrast checker → · Palette generator →

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