#531676#531676

#531676 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.154 H 309.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#531676
RGBrgb(83, 22, 118)
HSLhsl(278, 69%, 27%)
HSVhsv(278, 81%, 46%)
CMYKcmyk(29.7%, 81.4%, 0%, 53.7%)
CIE-LABlab(22.73, 43.88, -41.93)
CIE-LCHlch(22.73, 60.69, 316.31°)
OKLaboklab(35.37% 0.0974 -0.119)
OKLCHoklch(35.37% 0.154 309.3)
XYZxyz(7.1235, 3.7210, 17.4790)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531676 #397616
analogous
#231676 #531676 #761669
triadic
#531676 #765316 #167653
tetradic
#531676 #762316 #397616 #166976
square
#531676 #762316 #397616 #166976
split-complementary
#531676 #697616 #167623
monochromatic
#12051A #2F0C42 #531676 #7720AA #9A2ED8

Accessibility & contrast

On white

12.04
#531676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531676
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531676#FFFFFF#000000##FFFFFF
##5316761.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#4E2E46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531676;
/* rgb */ color: rgb(83, 22, 118);
/* oklch */ color: oklch(35.4% 0.154 309.3);
Tailwind
colors: {
  custom: {
    50: '#885b9e',
    500: '#531676',
    950: '#000000',
  },
}
SCSS
$custom: #531676;
$custom-light: #885b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531676",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 278.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.15383,
    "h": 309.3
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#531676
secondary
#65AC3C
accent
#EB3C7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531676

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

Preview Lab → · Contrast checker → · Palette generator →

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