#523585#523585

#523585 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.129 H 297.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#523585
RGBrgb(82, 53, 133)
HSLhsl(262, 43%, 36%)
HSVhsv(262, 60%, 52%)
CMYKcmyk(38.3%, 60.2%, 0%, 47.8%)
CIE-LABlab(29.50, 31.67, -40.46)
CIE-LCHlch(29.50, 51.38, 308.05°)
OKLaboklab(40.56% 0.0585 -0.1149)
OKLCHoklch(40.56% 0.129 297)
XYZxyz(8.9853, 6.0334, 22.8769)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523585 #688535
analogous
#354085 #523585 #7A3585
triadic
#523585 #855235 #358552
tetradic
#523585 #853540 #688535 #35857A
square
#523585 #853540 #688535 #35857A
split-complementary
#523585 #857A35 #408535
monochromatic
#1C122D #372459 #523585 #6D46B1 #8E6FC6

Accessibility & contrast

On white

9.52
#523585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#523585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523585
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523585#FFFFFF#000000##FFFFFF
##5235851.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074688
Deuteranopia (green-blind)
#164583
Tritanopia (blue-blind)
#464657
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523585;
/* rgb */ color: rgb(82, 53, 133);
/* oklch */ color: oklch(40.6% 0.129 297.0);
Tailwind
colors: {
  custom: {
    50: '#866da9',
    500: '#523585',
    950: '#000000',
  },
}
SCSS
$custom: #523585;
$custom-light: #866da9;
$custom-dark: #000000;
JSON
{
  "hex": "#523585",
  "rgb": {
    "r": 82,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 261.75,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.12894,
    "h": 297
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#523585
secondary
#95AE68
accent
#D355A5
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523585

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

Preview Lab → · Contrast checker → · Palette generator →

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