#531679#531679

#531679 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.157 H 308.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#531679
RGBrgb(83, 22, 121)
HSLhsl(277, 69%, 28%)
HSVhsv(277, 82%, 47%)
CMYKcmyk(31.4%, 81.8%, 0%, 52.5%)
CIE-LABlab(22.98, 44.58, -43.44)
CIE-LCHlch(22.98, 62.24, 315.74°)
OKLaboklab(35.62% 0.0967 -0.1235)
OKLCHoklch(35.62% 0.157 308.1)
XYZxyz(7.3047, 3.7934, 18.4328)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531679 #3C7916
analogous
#221679 #531679 #79166D
triadic
#531679 #795316 #167953
tetradic
#531679 #792216 #3C7916 #166D79
square
#531679 #792216 #3C7916 #166D79
split-complementary
#531679 #6D7916 #167922
monochromatic
#12051A #2F0D45 #531679 #771FAD #9830D9

Accessibility & contrast

On white

11.94
#531679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#531679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531679
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531679#FFFFFF#000000##FFFFFF
##5316791.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#4D2F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531679;
/* rgb */ color: rgb(83, 22, 121);
/* oklch */ color: oklch(35.6% 0.157 308.1);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531679',
    950: '#000000',
  },
}
SCSS
$custom: #531679;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531679",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 276.97,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.15682,
    "h": 308.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#531679
secondary
#68AE3D
accent
#EC3C7F
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531679

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

Preview Lab → · Contrast checker → · Palette generator →

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