#523094#523094

#523094 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.156 H 294.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#523094
RGBrgb(82, 48, 148)
HSLhsl(260, 51%, 38%)
HSVhsv(260, 68%, 58%)
CMYKcmyk(44.6%, 67.6%, 0%, 42%)
CIE-LABlab(29.53, 38.86, -49.68)
CIE-LCHlch(29.53, 63.07, 308.04°)
OKLaboklab(40.94% 0.0634 -0.142)
OKLCHoklch(40.94% 0.156 294.1)
XYZxyz(9.8805, 6.0456, 28.6576)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523094 #729430
analogous
#304094 #523094 #843094
triadic
#523094 #945230 #309452
tetradic
#523094 #943040 #729430 #309484
square
#523094 #943040 #729430 #309484
split-complementary
#523094 #948430 #409430
monochromatic
#1F1238 #382166 #523094 #6C40C1 #906ED0

Accessibility & contrast

On white

9.51
#523094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#523094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523094
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523094#FFFFFF#000000##FFFFFF
##5230941.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#40485E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #523094;
/* rgb */ color: rgb(82, 48, 148);
/* oklch */ color: oklch(40.9% 0.156 294.1);
Tailwind
colors: {
  custom: {
    50: '#886bb4',
    500: '#523094',
    950: '#000000',
  },
}
SCSS
$custom: #523094;
$custom-light: #886bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#523094",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 260.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.15551,
    "h": 294.1
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#523094
secondary
#9DB868
accent
#DA4DAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #523094

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

Preview Lab → · Contrast checker → · Palette generator →

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