#523A67#523A67

#523A67 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.5% C 0.079 H 307.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#523A67
RGBrgb(82, 58, 103)
HSLhsl(272, 28%, 32%)
HSVhsv(272, 44%, 40%)
CMYKcmyk(20.4%, 43.7%, 0%, 59.6%)
CIE-LABlab(28.90, 20.35, -22.45)
CIE-LCHlch(28.90, 30.31, 312.19°)
OKLaboklab(39.53% 0.0482 -0.0623)
OKLCHoklch(39.53% 0.079 307.7)
XYZxyz(7.4404, 5.7993, 13.5567)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523A67 #4F673A
analogous
#3C3A67 #523A67 #673A66
triadic
#523A67 #67523A #3A6752
tetradic
#523A67 #673C3A #4F673A #3A6667
square
#523A67 #673C3A #4F673A #3A6667
split-complementary
#523A67 #66673A #3A673C
monochromatic
#140E19 #332440 #523A67 #71508E #906EAD

Accessibility & contrast

On white

9.72
#523A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#523A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523A67
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523A67#FFFFFF#000000##FFFFFF
##523A671.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#364466
Tritanopia (blue-blind)
#4F414B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523a67;
/* rgb */ color: rgb(82, 58, 103);
/* oklch */ color: oklch(39.5% 0.079 307.7);
Tailwind
colors: {
  custom: {
    50: '#837092',
    500: '#523a67',
    950: '#000000',
  },
}
SCSS
$custom: #523a67;
$custom-light: #837092;
$custom-dark: #000000;
JSON
{
  "hex": "#523a67",
  "rgb": {
    "r": 82,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 272,
    "s": 27.95,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.07881,
    "h": 307.7
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#523A67
secondary
#7D9766
accent
#C46491
background
#F8F6F9
surface
#EFECF1
border
#CAC7CB
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #523A67

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

Preview Lab → · Contrast checker → · Palette generator →

#523A67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva