#523792#523792

#523792 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.9% C 0.143 H 292.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#523792
RGBrgb(82, 55, 146)
HSLhsl(258, 45%, 39%)
HSVhsv(258, 62%, 57%)
CMYKcmyk(43.8%, 62.3%, 0%, 42.7%)
CIE-LABlab(30.88, 34.23, -46.25)
CIE-LCHlch(30.88, 57.54, 306.50°)
OKLaboklab(41.87% 0.0556 -0.1319)
OKLCHoklch(41.87% 0.143 292.8)
XYZxyz(10.0328, 6.6013, 27.9341)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523792 #779237
analogous
#374A92 #523792 #803792
triadic
#523792 #925237 #379252
tetradic
#523792 #92374A #779237 #379280
square
#523792 #92374A #779237 #379280
split-complementary
#523792 #928037 #4A9237
monochromatic
#201639 #392666 #523792 #6C4BBB #9177CC

Accessibility & contrast

On white

9.05
#523792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#523792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523792
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523792#FFFFFF#000000##FFFFFF
##5237921.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#404C5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #523792;
/* rgb */ color: rgb(82, 55, 146);
/* oklch */ color: oklch(41.9% 0.143 292.8);
Tailwind
colors: {
  custom: {
    50: '#886fb3',
    500: '#523792',
    950: '#000000',
  },
}
SCSS
$custom: #523792;
$custom-light: #886fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#523792",
  "rgb": {
    "r": 82,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 257.802,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.14315,
    "h": 292.8
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#523792
secondary
#A0B570
accent
#D553AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523792

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

Preview Lab → · Contrast checker → · Palette generator →

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