#523085#523085

#523085 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.137 H 298.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#523085
RGBrgb(82, 48, 133)
HSLhsl(264, 47%, 35%)
HSVhsv(264, 64%, 52%)
CMYKcmyk(38.3%, 63.9%, 0%, 47.8%)
CIE-LABlab(28.38, 34.63, -42.25)
CIE-LCHlch(28.38, 54.63, 309.34°)
OKLaboklab(39.75% 0.0649 -0.1202)
OKLCHoklch(39.75% 0.137 298.4)
XYZxyz(8.7692, 5.6011, 22.8049)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523085 #638530
analogous
#303885 #523085 #7C3085
triadic
#523085 #855230 #308552
tetradic
#523085 #853038 #638530 #30857C
square
#523085 #853038 #638530 #30857C
split-complementary
#523085 #857C30 #388530
monochromatic
#1B102B #362058 #523085 #6E40B2 #8E67C8

Accessibility & contrast

On white

9.90
#523085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#523085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523085
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523085#FFFFFF#000000##FFFFFF
##5230851.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#0A4283
Tritanopia (blue-blind)
#464356
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #523085;
/* rgb */ color: rgb(82, 48, 133);
/* oklch */ color: oklch(39.7% 0.137 298.4);
Tailwind
colors: {
  custom: {
    50: '#876aa9',
    500: '#523085',
    950: '#000000',
  },
}
SCSS
$custom: #523085;
$custom-light: #876aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#523085",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 264,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.13657,
    "h": 298.4
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#523085
secondary
#90AF61
accent
#D751A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #523085

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

Preview Lab → · Contrast checker → · Palette generator →

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