#523697#523697

#523697 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.151 H 291.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#523697
RGBrgb(82, 54, 151)
HSLhsl(257, 47%, 40%)
HSVhsv(257, 64%, 59%)
CMYKcmyk(45.7%, 64.2%, 0%, 40.8%)
CIE-LABlab(31.03, 36.28, -49.06)
CIE-LCHlch(31.03, 61.02, 306.48°)
OKLaboklab(42.1% 0.0564 -0.1402)
OKLCHoklch(42.1% 0.151 291.9)
XYZxyz(10.3832, 6.6662, 30.0118)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523697 #7B9736
analogous
#364A97 #523697 #833697
triadic
#523697 #975236 #369752
tetradic
#523697 #97364A #7B9736 #369783
square
#523697 #97364A #7B9736 #369783
split-complementary
#523697 #978336 #4A9736
monochromatic
#21163D #3A266A #523697 #6D4BBF #9178CF

Accessibility & contrast

On white

9.00
#523697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#523697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523697
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523697#FFFFFF#000000##FFFFFF
##5236971.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#3E4D61
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #523697;
/* rgb */ color: rgb(82, 54, 151);
/* oklch */ color: oklch(42.1% 0.151 291.9);
Tailwind
colors: {
  custom: {
    50: '#886eb6',
    500: '#523697',
    950: '#000000',
  },
}
SCSS
$custom: #523697;
$custom-light: #886eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#523697",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 257.32,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.421,
    "c": 0.1511,
    "h": 291.9
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#523697
secondary
#A3B871
accent
#D751B0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523697

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

Preview Lab → · Contrast checker → · Palette generator →

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