#523095#523095

#523095 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.157 H 293.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#523095
RGBrgb(82, 48, 149)
HSLhsl(260, 51%, 39%)
HSVhsv(260, 68%, 58%)
CMYKcmyk(45%, 67.8%, 0%, 41.6%)
CIE-LABlab(29.61, 39.15, -50.16)
CIE-LCHlch(29.61, 63.63, 307.97°)
OKLaboklab(41.02% 0.0633 -0.1434)
OKLCHoklch(41.02% 0.157 293.8)
XYZxyz(9.9600, 6.0774, 29.0762)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523095 #739530
analogous
#304095 #523095 #843095
triadic
#523095 #955230 #309552
tetradic
#523095 #953040 #739530 #309584
square
#523095 #953040 #739530 #309584
split-complementary
#523095 #958430 #409530
monochromatic
#1F1238 #392167 #523095 #6C41C2 #906FD1

Accessibility & contrast

On white

9.48
#523095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #523095
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523095#FFFFFF#000000##FFFFFF
##5230951.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#3F485E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523095;
/* rgb */ color: rgb(82, 48, 149);
/* oklch */ color: oklch(41.0% 0.157 293.8);
Tailwind
colors: {
  custom: {
    50: '#886bb5',
    500: '#523095',
    950: '#000000',
  },
}
SCSS
$custom: #523095;
$custom-light: #886bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#523095",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 260.198,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.15675,
    "h": 293.8
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#523095
secondary
#9DB869
accent
#DB4DAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523095

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

Preview Lab → · Contrast checker → · Palette generator →

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