#531578#531578

#531578 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.157 H 308.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#531578
RGBrgb(83, 21, 120)
HSLhsl(278, 70%, 28%)
HSVhsv(278, 83%, 47%)
CMYKcmyk(30.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(22.76, 44.72, -43.15)
CIE-LCHlch(22.76, 62.14, 316.03°)
OKLaboklab(35.45% 0.0978 -0.1226)
OKLCHoklch(35.45% 0.157 308.6)
XYZxyz(7.2249, 3.7315, 18.1053)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531578 #3A7815
analogous
#221578 #531578 #78156B
triadic
#531578 #785315 #157853
tetradic
#531578 #782215 #3A7815 #156B78
square
#531578 #782215 #3A7815 #156B78
split-complementary
#531578 #6B7815 #157822
monochromatic
#12051A #2F0C44 #531578 #771EAC #9A2DDA

Accessibility & contrast

On white

12.03
#531578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531578
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531578#FFFFFF#000000##FFFFFF
##5315781.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531578;
/* rgb */ color: rgb(83, 21, 120);
/* oklch */ color: oklch(35.4% 0.157 308.6);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531578',
    950: '#000000',
  },
}
SCSS
$custom: #531578;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531578",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 277.576,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35447,
    "c": 0.15684,
    "h": 308.6
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#531578
secondary
#66AE3B
accent
#ED3B7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531578

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

Preview Lab → · Contrast checker → · Palette generator →

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