#531377#531377

#531377 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.158 H 309.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#531377
RGBrgb(83, 19, 119)
HSLhsl(278, 72%, 27%)
HSVhsv(278, 84%, 47%)
CMYKcmyk(30.3%, 84%, 0%, 53.3%)
CIE-LABlab(22.43, 45.21, -43.05)
CIE-LCHlch(22.43, 62.42, 316.40°)
OKLaboklab(35.19% 0.0997 -0.1223)
OKLCHoklch(35.19% 0.158 309.2)
XYZxyz(7.1292, 3.6368, 17.7756)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531377 #377713
analogous
#211377 #531377 #771369
triadic
#531377 #775313 #137753
tetradic
#531377 #772113 #377713 #136977
square
#531377 #772113 #377713 #136977
split-complementary
#531377 #697713 #137721
monochromatic
#12041A #2E0B42 #531377 #781BAC #9C28DD

Accessibility & contrast

On white

12.16
#531377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531377
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531377#FFFFFF#000000##FFFFFF
##5313771.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531377;
/* rgb */ color: rgb(83, 19, 119);
/* oklch */ color: oklch(35.2% 0.158 309.2);
Tailwind
colors: {
  custom: {
    50: '#885a9f',
    500: '#531377',
    950: '#000000',
  },
}
SCSS
$custom: #531377;
$custom-light: #885a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531377",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 278.4,
    "s": 72.464,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.1578,
    "h": 309.2
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#531377
secondary
#63AD39
accent
#EF397A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531377

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

Preview Lab → · Contrast checker → · Palette generator →

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