#523385#523385

#523385 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.132 H 297.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#523385
RGBrgb(82, 51, 133)
HSLhsl(263, 45%, 36%)
HSVhsv(263, 62%, 52%)
CMYKcmyk(38.3%, 61.7%, 0%, 47.8%)
CIE-LABlab(29.04, 32.86, -41.19)
CIE-LCHlch(29.04, 52.69, 308.59°)
OKLaboklab(40.23% 0.0611 -0.117)
OKLCHoklch(40.23% 0.132 297.6)
XYZxyz(8.8961, 5.8548, 22.8472)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523385 #668533
analogous
#333D85 #523385 #7B3385
triadic
#523385 #855233 #338552
tetradic
#523385 #85333D #668533 #33857B
square
#523385 #85333D #668533 #33857B
split-complementary
#523385 #857B33 #3D8533
monochromatic
#1B112D #372259 #523385 #6D44B1 #8E6CC7

Accessibility & contrast

On white

9.67
#523385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#523385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523385
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523385#FFFFFF#000000##FFFFFF
##5233851.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#124483
Tritanopia (blue-blind)
#464557
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523385;
/* rgb */ color: rgb(82, 51, 133);
/* oklch */ color: oklch(40.2% 0.132 297.6);
Tailwind
colors: {
  custom: {
    50: '#866ca9',
    500: '#523385',
    950: '#000000',
  },
}
SCSS
$custom: #523385;
$custom-light: #866ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#523385",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 262.683,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.13202,
    "h": 297.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#523385
secondary
#93AE65
accent
#D454A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523385

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

Preview Lab → · Contrast checker → · Palette generator →

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