#531374#531374

#531374 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.155 H 310.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#531374
RGBrgb(83, 19, 116)
HSLhsl(280, 72%, 26%)
HSVhsv(280, 84%, 45%)
CMYKcmyk(28.4%, 83.6%, 0%, 54.5%)
CIE-LABlab(22.18, 44.53, -41.53)
CIE-LCHlch(22.18, 60.89, 317.00°)
OKLaboklab(34.94% 0.1005 -0.1178)
OKLCHoklch(34.94% 0.155 310.5)
XYZxyz(6.9519, 3.5659, 16.8417)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531374 #347413
analogous
#231374 #531374 #741365
triadic
#531374 #745313 #137453
tetradic
#531374 #742313 #347413 #136574
square
#531374 #742313 #347413 #136574
split-complementary
#531374 #657413 #137423
monochromatic
#13041A #2D0A3F #531374 #791CA9 #9E26DB

Accessibility & contrast

On white

12.26
#531374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531374
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531374#FFFFFF#000000##FFFFFF
##5313741.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#4E2C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531374;
/* rgb */ color: rgb(83, 19, 116);
/* oklch */ color: oklch(34.9% 0.155 310.5);
Tailwind
colors: {
  custom: {
    50: '#885a9d',
    500: '#531374',
    950: '#000000',
  },
}
SCSS
$custom: #531374;
$custom-light: #885a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531374",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 279.588,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.15489,
    "h": 310.5
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#531374
secondary
#5FAA38
accent
#EF3977
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531374

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

Preview Lab → · Contrast checker → · Palette generator →

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