#523396#523396

#523396 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.154 H 292.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#523396
RGBrgb(82, 51, 150)
HSLhsl(259, 49%, 39%)
HSVhsv(259, 66%, 59%)
CMYKcmyk(45.3%, 66%, 0%, 41.2%)
CIE-LABlab(30.31, 37.73, -49.63)
CIE-LCHlch(30.31, 62.34, 307.25°)
OKLaboklab(41.55% 0.0598 -0.1419)
OKLCHoklch(41.55% 0.154 292.9)
XYZxyz(10.1670, 6.3632, 29.5408)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523396 #779633
analogous
#334696 #523396 #843396
triadic
#523396 #965233 #339652
tetradic
#523396 #963346 #779633 #339684
square
#523396 #963346 #779633 #339684
split-complementary
#523396 #968433 #469633
monochromatic
#20143B #392368 #523396 #6C46C0 #9174D0

Accessibility & contrast

On white

9.24
#523396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#523396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523396
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523396#FFFFFF#000000##FFFFFF
##5233961.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#3E4A60
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #523396;
/* rgb */ color: rgb(82, 51, 150);
/* oklch */ color: oklch(41.6% 0.154 292.9);
Tailwind
colors: {
  custom: {
    50: '#886db6',
    500: '#523396',
    950: '#000000',
  },
}
SCSS
$custom: #523396;
$custom-light: #886db6;
$custom-dark: #000000;
JSON
{
  "hex": "#523396",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 258.788,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.15396,
    "h": 292.9
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#523396
secondary
#A0B86D
accent
#D94FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523396

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

Preview Lab → · Contrast checker → · Palette generator →

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