#531476#531476

#531476 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.156 H 309.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#531476
RGBrgb(83, 20, 118)
HSLhsl(279, 71%, 27%)
HSVhsv(279, 83%, 46%)
CMYKcmyk(29.7%, 83.1%, 0%, 53.7%)
CIE-LABlab(22.47, 44.63, -42.34)
CIE-LCHlch(22.47, 61.52, 316.50°)
OKLaboklab(35.19% 0.0992 -0.1202)
OKLCHoklch(35.19% 0.156 309.5)
XYZxyz(7.0868, 3.6475, 17.4667)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531476 #377614
analogous
#221476 #531476 #761468
triadic
#531476 #765314 #147653
tetradic
#531476 #762214 #377614 #146876
square
#531476 #762214 #377614 #146876
split-complementary
#531476 #687614 #147622
monochromatic
#12041A #2E0B42 #531476 #781DAA #9C2ADB

Accessibility & contrast

On white

12.14
#531476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531476
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531476#FFFFFF#000000##FFFFFF
##5314761.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531476;
/* rgb */ color: rgb(83, 20, 118);
/* oklch */ color: oklch(35.2% 0.156 309.5);
Tailwind
colors: {
  custom: {
    50: '#885a9e',
    500: '#531476',
    950: '#000000',
  },
}
SCSS
$custom: #531476;
$custom-light: #885a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#531476",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 278.571,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.15586,
    "h": 309.5
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#531476
secondary
#63AC3A
accent
#EE3A7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531476

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

Preview Lab → · Contrast checker → · Palette generator →

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