#523685#523685

#523685 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.127 H 296.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#523685
RGBrgb(82, 54, 133)
HSLhsl(261, 42%, 37%)
HSVhsv(261, 59%, 52%)
CMYKcmyk(38.3%, 59.4%, 0%, 47.8%)
CIE-LABlab(29.73, 31.06, -40.09)
CIE-LCHlch(29.73, 50.71, 307.77°)
OKLaboklab(40.73% 0.0572 -0.1138)
OKLCHoklch(40.73% 0.127 296.7)
XYZxyz(9.0314, 6.1255, 22.8923)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523685 #698536
analogous
#364285 #523685 #7A3685
triadic
#523685 #855236 #368552
tetradic
#523685 #853642 #698536 #36857A
square
#523685 #853642 #698536 #36857A
split-complementary
#523685 #857A36 #428536
monochromatic
#1C132E #372459 #523685 #6D48B1 #8E70C5

Accessibility & contrast

On white

9.44
#523685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#523685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523685
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523685#FFFFFF#000000##FFFFFF
##5236851.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4688
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#464758
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523685;
/* rgb */ color: rgb(82, 54, 133);
/* oklch */ color: oklch(40.7% 0.127 296.7);
Tailwind
colors: {
  custom: {
    50: '#866ea9',
    500: '#523685',
    950: '#000000',
  },
}
SCSS
$custom: #523685;
$custom-light: #866ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#523685",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 261.266,
    "s": 42.246,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.12737,
    "h": 296.7
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#523685
secondary
#95AE69
accent
#D256A6
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523685

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

Preview Lab → · Contrast checker → · Palette generator →

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