#531479#531479

#531479 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.159 H 308.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#531479
RGBrgb(83, 20, 121)
HSLhsl(277, 72%, 28%)
HSVhsv(277, 83%, 47%)
CMYKcmyk(31.4%, 83.5%, 0%, 52.5%)
CIE-LABlab(22.72, 45.31, -43.85)
CIE-LCHlch(22.72, 63.06, 315.94°)
OKLaboklab(35.45% 0.0984 -0.1247)
OKLCHoklch(35.45% 0.159 308.3)
XYZxyz(7.2679, 3.7199, 18.4206)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531479 #3A7914
analogous
#211479 #531479 #79146C
triadic
#531479 #795314 #147953
tetradic
#531479 #792114 #3A7914 #146C79
square
#531479 #792114 #3A7914 #146C79
split-complementary
#531479 #6C7914 #147921
monochromatic
#12041A #2F0B44 #531479 #771DAE #9A2BDC

Accessibility & contrast

On white

12.04
#531479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531479
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531479#FFFFFF#000000##FFFFFF
##5314791.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531479;
/* rgb */ color: rgb(83, 20, 121);
/* oklch */ color: oklch(35.4% 0.159 308.3);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531479',
    950: '#000000',
  },
}
SCSS
$custom: #531479;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531479",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 277.426,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.15881,
    "h": 308.3
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#531479
secondary
#66AF3A
accent
#EE397E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531479

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

Preview Lab → · Contrast checker → · Palette generator →

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