#531176#531176

#531176 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.159 H 309.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#531176
RGBrgb(83, 17, 118)
HSLhsl(279, 75%, 26%)
HSVhsv(279, 86%, 46%)
CMYKcmyk(29.7%, 85.6%, 0%, 53.7%)
CIE-LABlab(22.12, 45.65, -42.92)
CIE-LCHlch(22.12, 62.66, 316.77°)
OKLaboklab(34.94% 0.1016 -0.1219)
OKLCHoklch(34.94% 0.159 309.8)
XYZxyz(7.0371, 3.5481, 17.4502)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531176 #347611
analogous
#211176 #531176 #761167
triadic
#531176 #765311 #117653
tetradic
#531176 #762111 #347611 #116776
square
#531176 #762111 #347611 #116776
split-complementary
#531176 #677611 #117621
monochromatic
#13041B #2D0941 #531176 #7919AB #9E22DF

Accessibility & contrast

On white

12.28
#531176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531176
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531176#FFFFFF#000000##FFFFFF
##5311761.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4E2C45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531176;
/* rgb */ color: rgb(83, 17, 118);
/* oklch */ color: oklch(34.9% 0.159 309.8);
Tailwind
colors: {
  custom: {
    50: '#88599e',
    500: '#531176',
    950: '#000000',
  },
}
SCSS
$custom: #531176;
$custom-light: #88599e;
$custom-dark: #000000;
JSON
{
  "hex": "#531176",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 279.208,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34944,
    "c": 0.15866,
    "h": 309.8
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#531176
secondary
#5FAD36
accent
#F13677
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531176

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

Preview Lab → · Contrast checker → · Palette generator →

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