#523096#523096

#523096 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.158 H 293.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#523096
RGBrgb(82, 48, 150)
HSLhsl(260, 52%, 39%)
HSVhsv(260, 68%, 59%)
CMYKcmyk(45.3%, 68%, 0%, 41.2%)
CIE-LABlab(29.69, 39.43, -50.64)
CIE-LCHlch(29.69, 64.18, 307.91°)
OKLaboklab(41.1% 0.0631 -0.1448)
OKLCHoklch(41.1% 0.158 293.6)
XYZxyz(10.0401, 6.1095, 29.4985)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523096 #749630
analogous
#304196 #523096 #853096
triadic
#523096 #965230 #309652
tetradic
#523096 #963041 #749630 #309685
square
#523096 #963041 #749630 #309685
split-complementary
#523096 #968530 #419630
monochromatic
#1F1239 #392168 #523096 #6C41C2 #906FD1

Accessibility & contrast

On white

9.45
#523096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#523096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523096
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523096#FFFFFF#000000##FFFFFF
##5230961.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#3F495F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523096;
/* rgb */ color: rgb(82, 48, 150);
/* oklch */ color: oklch(41.1% 0.158 293.6);
Tailwind
colors: {
  custom: {
    50: '#896bb6',
    500: '#523096',
    950: '#000000',
  },
}
SCSS
$custom: #523096;
$custom-light: #896bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#523096",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 260,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.15799,
    "h": 293.6
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#523096
secondary
#9EB969
accent
#DB4DAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523096

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

Preview Lab → · Contrast checker → · Palette generator →

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