#523091#523091

#523091 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.152 H 294.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#523091
RGBrgb(82, 48, 145)
HSLhsl(261, 50%, 38%)
HSVhsv(261, 67%, 57%)
CMYKcmyk(43.4%, 66.9%, 0%, 43.1%)
CIE-LABlab(29.29, 38.01, -48.22)
CIE-LCHlch(29.29, 61.40, 308.25°)
OKLaboklab(40.69% 0.0638 -0.1377)
OKLCHoklch(40.69% 0.152 294.9)
XYZxyz(9.6461, 5.9518, 27.4232)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523091 #6F9130
analogous
#303E91 #523091 #823091
triadic
#523091 #915230 #309152
tetradic
#523091 #91303E #6F9130 #309182
square
#523091 #91303E #6F9130 #309182
split-complementary
#523091 #918230 #3E9130
monochromatic
#1E1235 #382163 #523091 #6C3FBF #8F6DCF

Accessibility & contrast

On white

9.59
#523091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#523091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523091
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523091#FFFFFF#000000##FFFFFF
##5230911.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#41475C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #523091;
/* rgb */ color: rgb(82, 48, 145);
/* oklch */ color: oklch(40.7% 0.152 294.9);
Tailwind
colors: {
  custom: {
    50: '#886ab2',
    500: '#523091',
    950: '#000000',
  },
}
SCSS
$custom: #523091;
$custom-light: #886ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#523091",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 261.031,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.15176,
    "h": 294.9
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #523091

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

Preview Lab → · Contrast checker → · Palette generator →

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