#531776#531776

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

Color values

HEX#531776
RGBrgb(83, 23, 118)
HSLhsl(278, 67%, 28%)
HSVhsv(278, 81%, 46%)
CMYKcmyk(29.7%, 80.5%, 0%, 53.7%)
CIE-LABlab(22.86, 43.50, -41.71)
CIE-LCHlch(22.86, 60.26, 316.20°)
OKLaboklab(35.46% 0.0965 -0.1184)
OKLCHoklch(35.46% 0.153 309.2)
XYZxyz(7.1430, 3.7599, 17.4855)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531776 #3A7617
analogous
#241776 #531776 #761769
triadic
#531776 #765317 #177653
tetradic
#531776 #762417 #3A7617 #176976
square
#531776 #762417 #3A7617 #176976
split-complementary
#531776 #697617 #177624
monochromatic
#12051A #2F0D43 #531776 #7721A9 #9A31D7

Accessibility & contrast

On white

11.99
#531776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531776
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531776#FFFFFF#000000##FFFFFF
##5317761.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531776;
/* rgb */ color: rgb(83, 23, 118);
/* oklch */ color: oklch(35.5% 0.153 309.2);
Tailwind
colors: {
  custom: {
    50: '#885c9e',
    500: '#531776',
    950: '#000000',
  },
}
SCSS
$custom: #531776;
$custom-light: #885c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531776",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 277.895,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.15276,
    "h": 309.2
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#531776
secondary
#66AB3E
accent
#EA3E7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531776

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

Preview Lab → · Contrast checker → · Palette generator →

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