#523985#523985

#523985 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.2% C 0.123 H 295.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#523985
RGBrgb(82, 57, 133)
HSLhsl(260, 40%, 37%)
HSVhsv(260, 57%, 52%)
CMYKcmyk(38.3%, 57.1%, 0%, 47.8%)
CIE-LABlab(30.43, 29.23, -38.95)
CIE-LCHlch(30.43, 48.70, 306.88°)
OKLaboklab(41.25% 0.0532 -0.1105)
OKLCHoklch(41.25% 0.123 295.7)
XYZxyz(9.1754, 6.4134, 22.9402)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523985 #6C8539
analogous
#394685 #523985 #783985
triadic
#523985 #855239 #398552
tetradic
#523985 #853946 #6C8539 #398578
square
#523985 #853946 #6C8539 #398578
split-complementary
#523985 #857839 #468539
monochromatic
#1D142F #38275A #523985 #6C4BB0 #8F75C4

Accessibility & contrast

On white

9.20
#523985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#523985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523985
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523985#FFFFFF#000000##FFFFFF
##5239851.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164888
Deuteranopia (green-blind)
#1E4783
Tritanopia (blue-blind)
#464959
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #523985;
/* rgb */ color: rgb(82, 57, 133);
/* oklch */ color: oklch(41.2% 0.123 295.7);
Tailwind
colors: {
  custom: {
    50: '#8670a9',
    500: '#523985',
    950: '#000000',
  },
}
SCSS
$custom: #523985;
$custom-light: #8670a9;
$custom-dark: #000000;
JSON
{
  "hex": "#523985",
  "rgb": {
    "r": 82,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 259.737,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.12262,
    "h": 295.7
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#523985
secondary
#98AD6D
accent
#D058A8
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #523985

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

Preview Lab → · Contrast checker → · Palette generator →

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