#524194#524194

#524194 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 43.7% C 0.131 H 289.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#524194
RGBrgb(82, 65, 148)
HSLhsl(252, 39%, 42%)
HSVhsv(252, 56%, 58%)
CMYKcmyk(44.6%, 56.1%, 0%, 42%)
CIE-LABlab(33.38, 28.70, -43.45)
CIE-LCHlch(33.38, 52.08, 303.45°)
OKLaboklab(43.75% 0.0432 -0.1237)
OKLCHoklch(43.75% 0.131 289.3)
XYZxyz(10.7138, 7.7122, 28.9353)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524194 #839441
analogous
#415A94 #524194 #7C4194
triadic
#524194 #945241 #419452
tetradic
#524194 #94415A #839441 #41947C
square
#524194 #94415A #839441 #41947C
split-complementary
#524194 #947C41 #5A9441
monochromatic
#231C3F #3A2E69 #524194 #6E5BB7 #9486CA

Accessibility & contrast

On white

8.26
#524194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#524194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524194
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524194#FFFFFF#000000##FFFFFF
##5241941.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#184C92
Tritanopia (blue-blind)
#3F5364
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #524194;
/* rgb */ color: rgb(82, 65, 148);
/* oklch */ color: oklch(43.7% 0.131 289.3);
Tailwind
colors: {
  custom: {
    50: '#8776b4',
    500: '#524194',
    950: '#000000',
  },
}
SCSS
$custom: #524194;
$custom-light: #8776b4;
$custom-dark: #000000;
JSON
{
  "hex": "#524194",
  "rgb": {
    "r": 82,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 252.289,
    "s": 38.967,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.13102,
    "h": 289.3
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#524194
secondary
#A9B47C
accent
#CF59B7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #524194

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

Preview Lab → · Contrast checker → · Palette generator →

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