#523192#523192

#523192 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.152 H 294.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#523192
RGBrgb(82, 49, 146)
HSLhsl(260, 50%, 38%)
HSVhsv(260, 66%, 57%)
CMYKcmyk(43.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(29.58, 37.73, -48.37)
CIE-LCHlch(29.58, 61.34, 307.95°)
OKLaboklab(40.92% 0.0625 -0.1381)
OKLCHoklch(40.92% 0.152 294.4)
XYZxyz(9.7649, 6.0655, 27.8448)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523192 #719231
analogous
#314092 #523192 #823192
triadic
#523192 #925231 #319252
tetradic
#523192 #923140 #719231 #319282
square
#523192 #923140 #719231 #319282
split-complementary
#523192 #928231 #409231
monochromatic
#1F1236 #382264 #523192 #6C41BF #8F6FCF

Accessibility & contrast

On white

9.49
#523192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523192
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523192#FFFFFF#000000##FFFFFF
##5231921.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#41485D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523192;
/* rgb */ color: rgb(82, 49, 146);
/* oklch */ color: oklch(40.9% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#886bb3',
    500: '#523192',
    950: '#000000',
  },
}
SCSS
$custom: #523192;
$custom-light: #886bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#523192",
  "rgb": {
    "r": 82,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 260.412,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.15164,
    "h": 294.4
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#523192
secondary
#9CB669
accent
#D94FAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523192

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

Preview Lab → · Contrast checker → · Palette generator →

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