#531774#531774

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

Color values

HEX#531774
RGBrgb(83, 23, 116)
HSLhsl(279, 67%, 27%)
HSVhsv(279, 80%, 45%)
CMYKcmyk(28.4%, 80.2%, 0%, 54.5%)
CIE-LABlab(22.70, 43.03, -40.69)
CIE-LCHlch(22.70, 59.22, 316.60°)
OKLaboklab(35.3% 0.097 -0.1154)
OKLCHoklch(35.3% 0.151 310)
XYZxyz(7.0254, 3.7129, 16.8662)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531774 #387417
analogous
#251774 #531774 #741766
triadic
#531774 #745317 #177453
tetradic
#531774 #742517 #387417 #176674
square
#531774 #742517 #387417 #176674
split-complementary
#531774 #667417 #177425
monochromatic
#12051A #2E0D41 #531774 #7821A7 #9B30D6

Accessibility & contrast

On white

12.05
#531774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531774
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531774#FFFFFF#000000##FFFFFF
##5317741.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#4E2E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531774;
/* rgb */ color: rgb(83, 23, 116);
/* oklch */ color: oklch(35.3% 0.151 310.0);
Tailwind
colors: {
  custom: {
    50: '#875c9d',
    500: '#531774',
    950: '#000000',
  },
}
SCSS
$custom: #531774;
$custom-light: #875c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531774",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 278.71,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.15074,
    "h": 310
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#531774
secondary
#64A93D
accent
#EA3E7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531774

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

Preview Lab → · Contrast checker → · Palette generator →

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