#523092#523092

#523092 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.153 H 294.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#523092
RGBrgb(82, 48, 146)
HSLhsl(261, 51%, 38%)
HSVhsv(261, 67%, 57%)
CMYKcmyk(43.8%, 67.1%, 0%, 42.7%)
CIE-LABlab(29.37, 38.29, -48.70)
CIE-LCHlch(29.37, 61.95, 308.17°)
OKLaboklab(40.77% 0.0637 -0.1391)
OKLCHoklch(40.77% 0.153 294.6)
XYZxyz(9.7235, 5.9828, 27.8310)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523092 #709230
analogous
#303F92 #523092 #833092
triadic
#523092 #925230 #309252
tetradic
#523092 #92303F #709230 #309283
square
#523092 #92303F #709230 #309283
split-complementary
#523092 #928330 #3F9230
monochromatic
#1E1236 #382164 #523092 #6C3FC0 #8F6DCF

Accessibility & contrast

On white

9.56
#523092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#523092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523092
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523092#FFFFFF#000000##FFFFFF
##5230921.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#41475C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523092;
/* rgb */ color: rgb(82, 48, 146);
/* oklch */ color: oklch(40.8% 0.153 294.6);
Tailwind
colors: {
  custom: {
    50: '#886ab3',
    500: '#523092',
    950: '#000000',
  },
}
SCSS
$custom: #523092;
$custom-light: #886ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#523092",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 260.816,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.153,
    "h": 294.6
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#523092
secondary
#9BB767
accent
#DA4EA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523092

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

Preview Lab → · Contrast checker → · Palette generator →

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