#523892#523892

#523892 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.0% C 0.142 H 292.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#523892
RGBrgb(82, 56, 146)
HSLhsl(257, 45%, 40%)
HSVhsv(257, 62%, 57%)
CMYKcmyk(43.8%, 61.6%, 0%, 42.7%)
CIE-LABlab(31.11, 33.63, -45.89)
CIE-LCHlch(31.11, 56.89, 306.23°)
OKLaboklab(42.04% 0.0544 -0.1309)
OKLCHoklch(42.04% 0.142 292.6)
XYZxyz(10.0807, 6.6972, 27.9501)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523892 #789238
analogous
#384B92 #523892 #7F3892
triadic
#523892 #925238 #389252
tetradic
#523892 #92384B #789238 #38927F
square
#523892 #92384B #789238 #38927F
split-complementary
#523892 #927F38 #4B9238
monochromatic
#20163A #392766 #523892 #6C4DBB #9179CC

Accessibility & contrast

On white

8.98
#523892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#523892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523892
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523892#FFFFFF#000000##FFFFFF
##5238921.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.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: #523892;
/* rgb */ color: rgb(82, 56, 146);
/* oklch */ color: oklch(42.0% 0.142 292.6);
Tailwind
colors: {
  custom: {
    50: '#8770b3',
    500: '#523892',
    950: '#000000',
  },
}
SCSS
$custom: #523892;
$custom-light: #8770b3;
$custom-dark: #000000;
JSON
{
  "hex": "#523892",
  "rgb": {
    "r": 82,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 257.333,
    "s": 44.554,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.1417,
    "h": 292.6
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#523892
secondary
#A1B571
accent
#D454AF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523892

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

Preview Lab → · Contrast checker → · Palette generator →

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