#523296#523296

#523296 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.155 H 293.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#523296
RGBrgb(82, 50, 150)
HSLhsl(259, 50%, 39%)
HSVhsv(259, 67%, 59%)
CMYKcmyk(45.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(30.10, 38.30, -49.97)
CIE-LCHlch(30.10, 62.96, 307.47°)
OKLaboklab(41.4% 0.061 -0.1429)
OKLCHoklch(41.4% 0.155 293.1)
XYZxyz(10.1238, 6.2768, 29.5264)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523296 #769632
analogous
#324496 #523296 #843296
triadic
#523296 #965232 #329652
tetradic
#523296 #963244 #769632 #329684
square
#523296 #963244 #769632 #329684
split-complementary
#523296 #968432 #449632
monochromatic
#20133A #392368 #523296 #6C44C1 #9072D0

Accessibility & contrast

On white

9.31
#523296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#523296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523296
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523296#FFFFFF#000000##FFFFFF
##5232961.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #523296;
/* rgb */ color: rgb(82, 50, 150);
/* oklch */ color: oklch(41.4% 0.155 293.1);
Tailwind
colors: {
  custom: {
    50: '#886cb6',
    500: '#523296',
    950: '#000000',
  },
}
SCSS
$custom: #523296;
$custom-light: #886cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#523296",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 259.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.15532,
    "h": 293.1
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#523296
secondary
#A0B86C
accent
#DA4EAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523296

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

Preview Lab → · Contrast checker → · Palette generator →

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