#524776#524776

#524776 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.0% C 0.077 H 293.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#524776
RGBrgb(82, 71, 118)
HSLhsl(254, 25%, 37%)
HSVhsv(254, 40%, 46%)
CMYKcmyk(30.5%, 39.8%, 0%, 53.7%)
CIE-LABlab(33.15, 16.05, -25.28)
CIE-LCHlch(33.15, 29.95, 302.40°)
OKLaboklab(43.01% 0.0309 -0.0706)
OKLCHoklch(43.01% 0.077 293.7)
XYZxyz(9.0021, 7.6082, 18.1303)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524776 #6B7647
analogous
#475376 #524776 #6A4776
triadic
#524776 #765247 #477652
tetradic
#524776 #764753 #6B7647 #47766A
square
#524776 #764753 #6B7647 #47766A
split-complementary
#524776 #766A47 #537647
monochromatic
#1D192A #373050 #524776 #6D5E9C #8F83B4

Accessibility & contrast

On white

8.33
#524776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#524776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524776
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524776#FFFFFF#000000##FFFFFF
##5247761.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E78
Deuteranopia (green-blind)
#3B4D75
Tritanopia (blue-blind)
#4A4F59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #524776;
/* rgb */ color: rgb(82, 71, 118);
/* oklch */ color: oklch(43.0% 0.077 293.7);
Tailwind
colors: {
  custom: {
    50: '#847a9d',
    500: '#524776',
    950: '#000000',
  },
}
SCSS
$custom: #524776;
$custom-light: #847a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#524776",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 118
  },
  "hsl": {
    "h": 254.043,
    "s": 24.868,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.07705,
    "h": 293.7
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#524776
secondary
#97A078
accent
#C167AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #524776

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

Preview Lab → · Contrast checker → · Palette generator →

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