#531478#531478

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

Color values

HEX#531478
RGBrgb(83, 20, 120)
HSLhsl(278, 71%, 27%)
HSVhsv(278, 83%, 47%)
CMYKcmyk(30.8%, 83.3%, 0%, 52.9%)
CIE-LABlab(22.64, 45.08, -43.35)
CIE-LCHlch(22.64, 62.54, 316.12°)
OKLaboklab(35.36% 0.0987 -0.1232)
OKLCHoklch(35.36% 0.158 308.7)
XYZxyz(7.2069, 3.6955, 18.0993)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531478 #397814
analogous
#211478 #531478 #78146B
triadic
#531478 #785314 #147853
tetradic
#531478 #782114 #397814 #146B78
square
#531478 #782114 #397814 #146B78
split-complementary
#531478 #6B7814 #147821
monochromatic
#12041A #2F0B44 #531478 #771DAC #9A2BDC

Accessibility & contrast

On white

12.08
#531478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531478
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531478#FFFFFF#000000##FFFFFF
##5314781.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531478;
/* rgb */ color: rgb(83, 20, 120);
/* oklch */ color: oklch(35.4% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#885ba0',
    500: '#531478',
    950: '#000000',
  },
}
SCSS
$custom: #531478;
$custom-light: #885ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#531478",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 277.8,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.15783,
    "h": 308.7
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#531478
secondary
#65AE3A
accent
#EE3A7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531478

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

Preview Lab → · Contrast checker → · Palette generator →

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