#523285#523285

#523285 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.134 H 297.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#523285
RGBrgb(82, 50, 133)
HSLhsl(263, 45%, 36%)
HSVhsv(263, 62%, 52%)
CMYKcmyk(38.3%, 62.4%, 0%, 47.8%)
CIE-LABlab(28.82, 33.46, -41.55)
CIE-LCHlch(28.82, 53.34, 308.84°)
OKLaboklab(40.07% 0.0624 -0.1181)
OKLCHoklch(40.07% 0.134 297.8)
XYZxyz(8.8528, 5.7684, 22.8327)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523285 #658532
analogous
#323B85 #523285 #7B3285
triadic
#523285 #855232 #328552
tetradic
#523285 #85323B #658532 #32857B
square
#523285 #85323B #658532 #32857B
split-complementary
#523285 #857B32 #3B8532
monochromatic
#1B112C #372159 #523285 #6D43B1 #8E6AC7

Accessibility & contrast

On white

9.75
#523285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#523285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523285
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523285#FFFFFF#000000##FFFFFF
##5232851.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#0F4383
Tritanopia (blue-blind)
#464456
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #523285;
/* rgb */ color: rgb(82, 50, 133);
/* oklch */ color: oklch(40.1% 0.134 297.8);
Tailwind
colors: {
  custom: {
    50: '#866ba9',
    500: '#523285',
    950: '#000000',
  },
}
SCSS
$custom: #523285;
$custom-light: #866ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#523285",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 263.133,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40067,
    "c": 0.13355,
    "h": 297.8
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#523285
secondary
#92AF64
accent
#D553A3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #523285

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

Preview Lab → · Contrast checker → · Palette generator →

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