#531778#531778

#531778 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.155 H 308.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#531778
RGBrgb(83, 23, 120)
HSLhsl(277, 68%, 28%)
HSVhsv(277, 81%, 47%)
CMYKcmyk(30.8%, 80.8%, 0%, 52.9%)
CIE-LABlab(23.03, 43.96, -42.72)
CIE-LCHlch(23.03, 61.30, 315.82°)
OKLaboklab(35.63% 0.0961 -0.1214)
OKLCHoklch(35.63% 0.155 308.4)
XYZxyz(7.2631, 3.8080, 18.1180)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531778 #3C7817
analogous
#221778 #531778 #78176C
triadic
#531778 #785317 #177853
tetradic
#531778 #782217 #3C7817 #176C78
square
#531778 #782217 #3C7817 #176C78
split-complementary
#531778 #6C7817 #177822
monochromatic
#12051A #2F0D45 #531778 #7721AB #9832D8

Accessibility & contrast

On white

11.92
#531778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#531778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531778
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531778#FFFFFF#000000##FFFFFF
##5317781.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#4D2F47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531778;
/* rgb */ color: rgb(83, 23, 120);
/* oklch */ color: oklch(35.6% 0.155 308.4);
Tailwind
colors: {
  custom: {
    50: '#885ca0',
    500: '#531778',
    950: '#000000',
  },
}
SCSS
$custom: #531778;
$custom-light: #885ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#531778",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 277.113,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.15478,
    "h": 308.4
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#531778
secondary
#68AD3E
accent
#EB3D7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #531778

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

Preview Lab → · Contrast checker → · Palette generator →

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