#531677#531677

#531677 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.155 H 308.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#531677
RGBrgb(83, 22, 119)
HSLhsl(278, 69%, 28%)
HSVhsv(278, 82%, 47%)
CMYKcmyk(30.3%, 81.5%, 0%, 53.3%)
CIE-LABlab(22.81, 44.11, -42.43)
CIE-LCHlch(22.81, 61.21, 316.11°)
OKLaboklab(35.45% 0.0972 -0.1205)
OKLCHoklch(35.45% 0.155 308.9)
XYZxyz(7.1833, 3.7449, 17.7936)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531677 #3A7716
analogous
#231677 #531677 #77166A
triadic
#531677 #775316 #167753
tetradic
#531677 #772316 #3A7716 #166A77
square
#531677 #772316 #3A7716 #166A77
split-complementary
#531677 #6A7716 #167723
monochromatic
#12051A #2F0C43 #531677 #7720AB #9A2FD9

Accessibility & contrast

On white

12.01
#531677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531677
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531677#FFFFFF#000000##FFFFFF
##5316771.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#4D2F46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531677;
/* rgb */ color: rgb(83, 22, 119);
/* oklch */ color: oklch(35.5% 0.155 308.9);
Tailwind
colors: {
  custom: {
    50: '#885b9f',
    500: '#531677',
    950: '#000000',
  },
}
SCSS
$custom: #531677;
$custom-light: #885b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#531677",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 277.732,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.15482,
    "h": 308.9
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#531677
secondary
#66AC3C
accent
#EC3C7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531677

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

Preview Lab → · Contrast checker → · Palette generator →

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