#523486#523486

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

Color values

HEX#523486
RGBrgb(82, 52, 134)
HSLhsl(262, 44%, 36%)
HSVhsv(262, 61%, 53%)
CMYKcmyk(38.8%, 61.2%, 0%, 47.5%)
CIE-LABlab(29.34, 32.55, -41.33)
CIE-LCHlch(29.34, 52.61, 308.22°)
OKLaboklab(40.47% 0.0598 -0.1175)
OKLCHoklch(40.47% 0.132 297)
XYZxyz(9.0096, 5.9709, 23.2275)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523486 #688634
analogous
#343F86 #523486 #7B3486
triadic
#523486 #865234 #348652
tetradic
#523486 #86343F #688634 #34867B
square
#523486 #86343F #688634 #34867B
split-complementary
#523486 #867B34 #3F8634
monochromatic
#1C122E #37235A #523486 #6D45B2 #8E6EC7

Accessibility & contrast

On white

9.57
#523486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#523486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523486
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523486#FFFFFF#000000##FFFFFF
##5234861.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#464658
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523486;
/* rgb */ color: rgb(82, 52, 134);
/* oklch */ color: oklch(40.5% 0.132 297.0);
Tailwind
colors: {
  custom: {
    50: '#866daa',
    500: '#523486',
    950: '#000000',
  },
}
SCSS
$custom: #523486;
$custom-light: #866daa;
$custom-dark: #000000;
JSON
{
  "hex": "#523486",
  "rgb": {
    "r": 82,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 261.951,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.1318,
    "h": 297
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#523486
secondary
#95AF67
accent
#D454A5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523486

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

Preview Lab → · Contrast checker → · Palette generator →

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