#523692#523692

#523692 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.7% C 0.145 H 293.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#523692
RGBrgb(82, 54, 146)
HSLhsl(258, 46%, 39%)
HSVhsv(258, 63%, 57%)
CMYKcmyk(43.8%, 63%, 0%, 42.7%)
CIE-LABlab(30.66, 34.82, -46.62)
CIE-LCHlch(30.66, 58.18, 306.76°)
OKLaboklab(41.71% 0.0568 -0.133)
OKLCHoklch(41.71% 0.145 293.1)
XYZxyz(9.9857, 6.5072, 27.9184)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523692 #769236
analogous
#364892 #523692 #803692
triadic
#523692 #925236 #369252
tetradic
#523692 #923648 #769236 #369280
square
#523692 #923648 #769236 #369280
split-complementary
#523692 #928036 #489236
monochromatic
#201539 #392565 #523692 #6C49BC #9076CC

Accessibility & contrast

On white

9.12
#523692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#523692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523692
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523692#FFFFFF#000000##FFFFFF
##5236921.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#404B5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523692;
/* rgb */ color: rgb(82, 54, 146);
/* oklch */ color: oklch(41.7% 0.145 293.1);
Tailwind
colors: {
  custom: {
    50: '#886eb3',
    500: '#523692',
    950: '#000000',
  },
}
SCSS
$custom: #523692;
$custom-light: #886eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#523692",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 146
  },
  "hsl": {
    "h": 258.261,
    "s": 46,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.1446,
    "h": 293.1
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#523692
secondary
#A0B56F
accent
#D652AE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523692

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

Preview Lab → · Contrast checker → · Palette generator →

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