#524397#524397

#524397 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.3% C 0.132 H 288.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#524397
RGBrgb(82, 67, 151)
HSLhsl(251, 39%, 43%)
HSVhsv(251, 56%, 59%)
CMYKcmyk(45.7%, 55.6%, 0%, 40.8%)
CIE-LABlab(34.07, 28.37, -44.16)
CIE-LCHlch(34.07, 52.49, 302.71°)
OKLaboklab(44.33% 0.0408 -0.1258)
OKLCHoklch(44.33% 0.132 288)
XYZxyz(11.0712, 8.0421, 30.2411)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524397 #889743
analogous
#435E97 #524397 #7C4397
triadic
#524397 #975243 #439752
tetradic
#524397 #97435E #889743 #43977C
square
#524397 #97435E #889743 #43977C
split-complementary
#524397 #977C43 #5E9743
monochromatic
#241D42 #3B306D #524397 #6F5FB8 #958ACB

Accessibility & contrast

On white

8.05
#524397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#524397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524397
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524397#FFFFFF#000000##FFFFFF
##5243971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#3D5566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #524397;
/* rgb */ color: rgb(82, 67, 151);
/* oklch */ color: oklch(44.3% 0.132 288.0);
Tailwind
colors: {
  custom: {
    50: '#8777b6',
    500: '#524397',
    950: '#000000',
  },
}
SCSS
$custom: #524397;
$custom-light: #8777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#524397",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 250.714,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.13222,
    "h": 288
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#524397
secondary
#ACB680
accent
#CE59BA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #524397

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

Preview Lab → · Contrast checker → · Palette generator →

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