#524862#524862

#524862 is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.2% C 0.044 H 302.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#524862
RGBrgb(82, 72, 98)
HSLhsl(263, 15%, 33%)
HSVhsv(263, 27%, 38%)
CMYKcmyk(16.3%, 26.5%, 0%, 61.6%)
CIE-LABlab(32.50, 10.07, -13.69)
CIE-LCHlch(32.50, 16.99, 306.34°)
OKLaboklab(42.2% 0.0235 -0.0374)
OKLCHoklch(42.2% 0.044 302.1)
XYZxyz(8.0012, 7.3104, 12.5424)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524862 #586248
analogous
#484B62 #524862 #5F4862
triadic
#524862 #625248 #486252
tetradic
#524862 #62484B #586248 #48625F
square
#524862 #62484B #586248 #48625F
split-complementary
#524862 #625F48 #4B6248
monochromatic
#17141B #342E3F #524862 #706285 #8E82A3

Accessibility & contrast

On white

8.53
#524862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#524862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524862
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524862#FFFFFF#000000##FFFFFF
##5248621.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#454C61
Tritanopia (blue-blind)
#4F4C51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524862;
/* rgb */ color: rgb(82, 72, 98);
/* oklch */ color: oklch(42.2% 0.044 302.1);
Tailwind
colors: {
  custom: {
    50: '#837b8e',
    500: '#524862',
    950: '#000000',
  },
}
SCSS
$custom: #524862;
$custom-light: #837b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#524862",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 263.077,
    "s": 15.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.04418,
    "h": 302.1
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#524862
secondary
#869076
accent
#B8709C
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #524862

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

Preview Lab → · Contrast checker → · Palette generator →

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