#531674#531674

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

Color values

HEX#531674
RGBrgb(83, 22, 116)
HSLhsl(279, 68%, 27%)
HSVhsv(279, 81%, 45%)
CMYKcmyk(28.4%, 81%, 0%, 54.5%)
CIE-LABlab(22.56, 43.42, -40.91)
CIE-LCHlch(22.56, 59.66, 316.71°)
OKLaboklab(35.2% 0.0979 -0.116)
OKLCHoklch(35.2% 0.152 310.2)
XYZxyz(7.0060, 3.6739, 16.8597)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531674 #377416
analogous
#241674 #531674 #741666
triadic
#531674 #745316 #167453
tetradic
#531674 #742416 #377416 #166674
square
#531674 #742416 #377416 #166674
split-complementary
#531674 #667416 #167424
monochromatic
#12051A #2E0C41 #531674 #7820A7 #9C2DD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##531674#FFFFFF#000000##FFFFFF
##5316741.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)
#003377
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531674;
/* rgb */ color: rgb(83, 22, 116);
/* oklch */ color: oklch(35.2% 0.152 310.2);
Tailwind
colors: {
  custom: {
    50: '#875b9d',
    500: '#531674',
    950: '#000000',
  },
}
SCSS
$custom: #531674;
$custom-light: #875b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531674",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 278.936,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35203,
    "c": 0.15183,
    "h": 310.2
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#531674
secondary
#63AA3C
accent
#EB3D7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531674

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

Preview Lab → · Contrast checker → · Palette generator →

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