#524166#524166

#524166 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.064 H 304.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#524166
RGBrgb(82, 65, 102)
HSLhsl(268, 22%, 33%)
HSVhsv(268, 36%, 40%)
CMYKcmyk(19.6%, 36.3%, 0%, 60%)
CIE-LABlab(30.72, 15.60, -18.98)
CIE-LCHlch(30.72, 24.56, 309.42°)
OKLaboklab(40.89% 0.0364 -0.0524)
OKLCHoklch(40.89% 0.064 304.8)
XYZxyz(7.7678, 6.5338, 13.4197)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524166 #556641
analogous
#414266 #524166 #654166
triadic
#524166 #665241 #416652
tetradic
#524166 #664142 #556641 #416665
square
#524166 #664142 #556641 #416665
split-complementary
#524166 #666541 #426641
monochromatic
#16111B #342941 #524166 #70598B #8F78A9

Accessibility & contrast

On white

9.10
#524166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#524166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524166
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524166#FFFFFF#000000##FFFFFF
##5241661.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394867
Deuteranopia (green-blind)
#3D4865
Tritanopia (blue-blind)
#4F474F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524166;
/* rgb */ color: rgb(82, 65, 102);
/* oklch */ color: oklch(40.9% 0.064 304.8);
Tailwind
colors: {
  custom: {
    50: '#837591',
    500: '#524166',
    950: '#000000',
  },
}
SCSS
$custom: #524166;
$custom-light: #837591;
$custom-dark: #000000;
JSON
{
  "hex": "#524166",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 267.568,
    "s": 22.156,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.06382,
    "h": 304.8
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#524166
secondary
#83956E
accent
#BF6997
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080D
muted
#7C7B7D

Preview Lab

Preview with #524166

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

Preview Lab → · Contrast checker → · Palette generator →

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