#523367#523367

#523367 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.092 H 310.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#523367
RGBrgb(82, 51, 103)
HSLhsl(276, 34%, 30%)
HSVhsv(276, 50%, 40%)
CMYKcmyk(20.4%, 50.5%, 0%, 59.6%)
CIE-LABlab(27.13, 24.77, -25.23)
CIE-LCHlch(27.13, 35.36, 314.47°)
OKLaboklab(38.2% 0.0595 -0.0703)
OKLCHoklch(38.2% 0.092 310.2)
XYZxyz(7.1112, 5.1409, 13.4470)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523367 #486733
analogous
#383367 #523367 #673362
triadic
#523367 #675233 #336752
tetradic
#523367 #673833 #486733 #336267
square
#523367 #673833 #486733 #336267
split-complementary
#523367 #626733 #336738
monochromatic
#110A15 #311F3E #523367 #734790 #9263B2

Accessibility & contrast

On white

10.35
#523367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#523367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523367
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523367#FFFFFF#000000##FFFFFF
##5233671.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F69
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#4F3B48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #523367;
/* rgb */ color: rgb(82, 51, 103);
/* oklch */ color: oklch(38.2% 0.092 310.2);
Tailwind
colors: {
  custom: {
    50: '#846b92',
    500: '#523367',
    950: '#000000',
  },
}
SCSS
$custom: #523367;
$custom-light: #846b92;
$custom-dark: #000000;
JSON
{
  "hex": "#523367",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 275.769,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38204,
    "c": 0.09212,
    "h": 310.2
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#523367
secondary
#75985E
accent
#CA5E8A
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #523367

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

Preview Lab → · Contrast checker → · Palette generator →

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