#524294#524294

#524294 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 43.9% C 0.130 H 288.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#524294
RGBrgb(82, 66, 148)
HSLhsl(252, 38%, 42%)
HSVhsv(252, 55%, 58%)
CMYKcmyk(44.6%, 55.4%, 0%, 42%)
CIE-LABlab(33.62, 28.08, -43.06)
CIE-LCHlch(33.62, 51.40, 303.11°)
OKLaboklab(43.93% 0.042 -0.1225)
OKLCHoklch(43.93% 0.13 288.9)
XYZxyz(10.7717, 7.8280, 28.9546)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524294 #849442
analogous
#425B94 #524294 #7B4294
triadic
#524294 #945242 #429452
tetradic
#524294 #94425B #849442 #42947B
square
#524294 #94425B #849442 #42947B
split-complementary
#524294 #947B42 #5B9442
monochromatic
#231C3F #3B2F6A #524294 #6E5DB7 #9487C9

Accessibility & contrast

On white

8.19
#524294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#524294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524294
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524294#FFFFFF#000000##FFFFFF
##5242941.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#1A4D92
Tritanopia (blue-blind)
#3E5464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #524294;
/* rgb */ color: rgb(82, 66, 148);
/* oklch */ color: oklch(43.9% 0.130 288.9);
Tailwind
colors: {
  custom: {
    50: '#8777b4',
    500: '#524294',
    950: '#000000',
  },
}
SCSS
$custom: #524294;
$custom-light: #8777b4;
$custom-dark: #000000;
JSON
{
  "hex": "#524294",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 251.707,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.1295,
    "h": 288.9
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#524294
secondary
#AAB47E
accent
#CE5AB7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #524294

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

Preview Lab → · Contrast checker → · Palette generator →

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