#531678#531678

#531678 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.156 H 308.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#531678
RGBrgb(83, 22, 120)
HSLhsl(277, 69%, 28%)
HSVhsv(277, 82%, 47%)
CMYKcmyk(30.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(22.89, 44.35, -42.94)
CIE-LCHlch(22.89, 61.73, 315.93°)
OKLaboklab(35.54% 0.097 -0.122)
OKLCHoklch(35.54% 0.156 308.5)
XYZxyz(7.2436, 3.7690, 18.1116)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531678 #3B7816
analogous
#221678 #531678 #78166C
triadic
#531678 #785316 #167853
tetradic
#531678 #782216 #3B7816 #166C78
square
#531678 #782216 #3B7816 #166C78
split-complementary
#531678 #6C7816 #167822
monochromatic
#12051A #2F0D44 #531678 #771FAC #992FD9

Accessibility & contrast

On white

11.97
#531678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#531678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531678
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531678#FFFFFF#000000##FFFFFF
##5316781.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531678;
/* rgb */ color: rgb(83, 22, 120);
/* oklch */ color: oklch(35.5% 0.156 308.5);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531678',
    950: '#000000',
  },
}
SCSS
$custom: #531678;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531678",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 277.347,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.15583,
    "h": 308.5
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#531678
secondary
#67AD3C
accent
#EC3C7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531678

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

Preview Lab → · Contrast checker → · Palette generator →

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