#523666#523666

#523666 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.085 H 309.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#523666
RGBrgb(82, 54, 102)
HSLhsl(275, 31%, 31%)
HSVhsv(275, 47%, 40%)
CMYKcmyk(19.6%, 47.1%, 0%, 60%)
CIE-LABlab(27.82, 22.64, -23.50)
CIE-LCHlch(27.82, 32.63, 313.93°)
OKLaboklab(38.7% 0.0545 -0.0653)
OKLCHoklch(38.7% 0.085 309.8)
XYZxyz(7.1967, 5.3916, 13.2294)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523666 #4A6636
analogous
#3A3666 #523666 #663662
triadic
#523666 #665236 #366652
tetradic
#523666 #663A36 #4A6636 #366266
square
#523666 #663A36 #4A6636 #366266
split-complementary
#523666 #626636 #36663A
monochromatic
#120C16 #32213E #523666 #724B8E #9168AF

Accessibility & contrast

On white

10.10
#523666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#523666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523666
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523666#FFFFFF#000000##FFFFFF
##5236661.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#324265
Tritanopia (blue-blind)
#503D49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #523666;
/* rgb */ color: rgb(82, 54, 102);
/* oklch */ color: oklch(38.7% 0.085 309.8);
Tailwind
colors: {
  custom: {
    50: '#846e92',
    500: '#523666',
    950: '#000000',
  },
}
SCSS
$custom: #523666;
$custom-light: #846e92;
$custom-dark: #000000;
JSON
{
  "hex": "#523666",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 102
  },
  "hsl": {
    "h": 275,
    "s": 30.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.08509,
    "h": 309.8
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#523666
secondary
#779761
accent
#C7618B
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B070D
muted
#7C7A7D

Preview Lab

Preview with #523666

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

Preview Lab → · Contrast checker → · Palette generator →

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