#523989#523989

#523989 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.5% C 0.128 H 294.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#523989
RGBrgb(82, 57, 137)
HSLhsl(259, 41%, 38%)
HSVhsv(259, 58%, 54%)
CMYKcmyk(40.1%, 58.4%, 0%, 46.3%)
CIE-LABlab(30.70, 30.39, -41.00)
CIE-LCHlch(30.70, 51.03, 306.54°)
OKLaboklab(41.54% 0.0533 -0.1165)
OKLCHoklch(41.54% 0.128 294.6)
XYZxyz(9.4570, 6.5260, 24.4235)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523989 #708939
analogous
#394889 #523989 #7A3989
triadic
#523989 #895239 #398952
tetradic
#523989 #893948 #708939 #39897A
square
#523989 #893948 #708939 #39897A
split-complementary
#523989 #897A39 #488939
monochromatic
#1E1533 #38275E #523989 #6C4BB4 #8F76C6

Accessibility & contrast

On white

9.11
#523989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#523989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523989
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523989#FFFFFF#000000##FFFFFF
##5239891.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#184787
Tritanopia (blue-blind)
#444A5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523989;
/* rgb */ color: rgb(82, 57, 137);
/* oklch */ color: oklch(41.5% 0.128 294.6);
Tailwind
colors: {
  custom: {
    50: '#8670ac',
    500: '#523989',
    950: '#000000',
  },
}
SCSS
$custom: #523989;
$custom-light: #8670ac;
$custom-dark: #000000;
JSON
{
  "hex": "#523989",
  "rgb": {
    "r": 82,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 258.75,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.12809,
    "h": 294.6
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#523989
secondary
#9BAF6F
accent
#D157AB
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523989

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

Preview Lab → · Contrast checker → · Palette generator →

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