#523994#523994

#523994 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.4% C 0.143 H 291.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#523994
RGBrgb(82, 57, 148)
HSLhsl(256, 44%, 40%)
HSVhsv(256, 61%, 58%)
CMYKcmyk(44.6%, 61.5%, 0%, 42%)
CIE-LABlab(31.48, 33.62, -46.51)
CIE-LCHlch(31.48, 57.39, 305.86°)
OKLaboklab(42.35% 0.0531 -0.1327)
OKLCHoklch(42.35% 0.143 291.8)
XYZxyz(10.2866, 6.8579, 28.7929)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523994 #7B9439
analogous
#394D94 #523994 #803994
triadic
#523994 #945239 #399452
tetradic
#523994 #94394D #7B9439 #399480
square
#523994 #94394D #7B9439 #399480
split-complementary
#523994 #948039 #4D9439
monochromatic
#21173C #3A2868 #523994 #6D4FBB #917BCC

Accessibility & contrast

On white

8.85
#523994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#523994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523994
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523994#FFFFFF#000000##FFFFFF
##5239941.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#3F4D61
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #523994;
/* rgb */ color: rgb(82, 57, 148);
/* oklch */ color: oklch(42.4% 0.143 291.8);
Tailwind
colors: {
  custom: {
    50: '#8870b4',
    500: '#523994',
    950: '#000000',
  },
}
SCSS
$custom: #523994;
$custom-light: #8870b4;
$custom-dark: #000000;
JSON
{
  "hex": "#523994",
  "rgb": {
    "r": 82,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 256.484,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.1429,
    "h": 291.8
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#523994
secondary
#A3B673
accent
#D454B1
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523994

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

Preview Lab → · Contrast checker → · Palette generator →

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