#531376#531376

#531376 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.157 H 309.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#531376
RGBrgb(83, 19, 118)
HSLhsl(279, 72%, 27%)
HSVhsv(279, 84%, 46%)
CMYKcmyk(29.7%, 83.9%, 0%, 53.7%)
CIE-LABlab(22.35, 44.98, -42.54)
CIE-LCHlch(22.35, 61.91, 316.60°)
OKLaboklab(35.1% 0.1 -0.1208)
OKLCHoklch(35.1% 0.157 309.6)
XYZxyz(7.0695, 3.6129, 17.4610)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531376 #367613
analogous
#221376 #531376 #761368
triadic
#531376 #765313 #137653
tetradic
#531376 #762213 #367613 #136876
square
#531376 #762213 #367613 #136876
split-complementary
#531376 #687613 #137622
monochromatic
#13041A #2E0B41 #531376 #781BAB #9C27DC

Accessibility & contrast

On white

12.19
#531376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531376
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531376#FFFFFF#000000##FFFFFF
##5313761.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531376;
/* rgb */ color: rgb(83, 19, 118);
/* oklch */ color: oklch(35.1% 0.157 309.6);
Tailwind
colors: {
  custom: {
    50: '#885a9e',
    500: '#531376',
    950: '#000000',
  },
}
SCSS
$custom: #531376;
$custom-light: #885a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531376",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 278.788,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35105,
    "c": 0.15683,
    "h": 309.6
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#531376
secondary
#61AC39
accent
#EF3979
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531376

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

Preview Lab → · Contrast checker → · Palette generator →

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