#524293#524293

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

Color values

HEX#524293
RGBrgb(82, 66, 147)
HSLhsl(252, 38%, 42%)
HSVhsv(252, 55%, 58%)
CMYKcmyk(44.2%, 55.1%, 0%, 42.4%)
CIE-LABlab(33.56, 27.77, -42.55)
CIE-LCHlch(33.56, 50.82, 303.13°)
OKLaboklab(43.86% 0.0419 -0.121)
OKLCHoklch(43.86% 0.128 289.1)
XYZxyz(10.6929, 7.7965, 28.5396)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524293 #839342
analogous
#425B93 #524293 #7B4293
triadic
#524293 #935242 #429352
tetradic
#524293 #93425B #839342 #42937B
square
#524293 #93425B #839342 #42937B
split-complementary
#524293 #937B42 #5B9342
monochromatic
#231C3F #3A2F69 #524293 #6E5CB6 #9487C9

Accessibility & contrast

On white

8.21
#524293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#524293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524293
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524293#FFFFFF#000000##FFFFFF
##5242931.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5196
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#3F5364
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #524293;
/* rgb */ color: rgb(82, 66, 147);
/* oklch */ color: oklch(43.9% 0.128 289.1);
Tailwind
colors: {
  custom: {
    50: '#8777b3',
    500: '#524293',
    950: '#000000',
  },
}
SCSS
$custom: #524293;
$custom-light: #8777b3;
$custom-dark: #000000;
JSON
{
  "hex": "#524293",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 251.852,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43861,
    "c": 0.12809,
    "h": 289.1
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524293

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

Preview Lab → · Contrast checker → · Palette generator →

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