#523683#523683

#523683 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.125 H 297.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#523683
RGBrgb(82, 54, 131)
HSLhsl(262, 42%, 36%)
HSVhsv(262, 59%, 51%)
CMYKcmyk(37.4%, 58.8%, 0%, 48.6%)
CIE-LABlab(29.59, 30.49, -39.06)
CIE-LCHlch(29.59, 49.55, 307.98°)
OKLaboklab(40.59% 0.0572 -0.1108)
OKLCHoklch(40.59% 0.125 297.3)
XYZxyz(8.8945, 6.0707, 22.1715)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523683 #678336
analogous
#364183 #523683 #793683
triadic
#523683 #835236 #368352
tetradic
#523683 #833641 #678336 #368379
square
#523683 #833641 #678336 #368379
split-complementary
#523683 #837936 #418336
monochromatic
#1C122C #372458 #523683 #6D48AE #8E70C4

Accessibility & contrast

On white

9.48
#523683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523683
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523683#FFFFFF#000000##FFFFFF
##5236831.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104686
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#474657
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523683;
/* rgb */ color: rgb(82, 54, 131);
/* oklch */ color: oklch(40.6% 0.125 297.3);
Tailwind
colors: {
  custom: {
    50: '#866ea7',
    500: '#523683',
    950: '#000000',
  },
}
SCSS
$custom: #523683;
$custom-light: #866ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#523683",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 261.818,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.12468,
    "h": 297.3
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#523683
secondary
#94AC68
accent
#D156A5
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #523683

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

Preview Lab → · Contrast checker → · Palette generator →

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