#531477#531477

#531477 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.157 H 309.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#531477
RGBrgb(83, 20, 119)
HSLhsl(278, 71%, 27%)
HSVhsv(278, 83%, 47%)
CMYKcmyk(30.3%, 83.2%, 0%, 53.3%)
CIE-LABlab(22.55, 44.85, -42.85)
CIE-LCHlch(22.55, 62.03, 316.31°)
OKLaboklab(35.28% 0.0989 -0.1217)
OKLCHoklch(35.28% 0.157 309.1)
XYZxyz(7.1465, 3.6714, 17.7814)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531477 #387714
analogous
#221477 #531477 #77146A
triadic
#531477 #775314 #147753
tetradic
#531477 #772214 #387714 #146A77
square
#531477 #772214 #387714 #146A77
split-complementary
#531477 #6A7714 #147722
monochromatic
#12041A #2E0B43 #531477 #781DAB #9B2ADB

Accessibility & contrast

On white

12.11
#531477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531477
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531477#FFFFFF#000000##FFFFFF
##5314771.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#4D2E46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531477;
/* rgb */ color: rgb(83, 20, 119);
/* oklch */ color: oklch(35.3% 0.157 309.1);
Tailwind
colors: {
  custom: {
    50: '#885a9f',
    500: '#531477',
    950: '#000000',
  },
}
SCSS
$custom: #531477;
$custom-light: #885a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531477",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 278.182,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.15684,
    "h": 309.1
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#531477
secondary
#64AD3A
accent
#EE3A7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531477

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

Preview Lab → · Contrast checker → · Palette generator →

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