#5B5382#5B5382

#5B5382 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.0% C 0.075 H 291.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5B5382
RGBrgb(91, 83, 130)
HSLhsl(250, 22%, 42%)
HSVhsv(250, 36%, 51%)
CMYKcmyk(30%, 36.2%, 0%, 49%)
CIE-LABlab(37.88, 14.59, -25.25)
CIE-LCHlch(37.88, 29.16, 300.02°)
OKLaboklab(47.02% 0.027 -0.0703)
OKLCHoklch(47.02% 0.075 291)
XYZxyz(11.4359, 10.0222, 22.4467)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5382 #7A8253
analogous
#536382 #5B5382 #735382
triadic
#5B5382 #825B53 #53825B
tetradic
#5B5382 #825363 #7A8253 #538273
square
#5B5382 #825363 #7A8253 #538273
split-complementary
#5B5382 #827353 #638253
monochromatic
#272337 #413B5D #5B5382 #786FA3 #9B94BB

Accessibility & contrast

On white

6.99
#5B5382 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5B5382 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5382
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5382#FFFFFF#000000##FFFFFF
##5B53821.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#465881
Tritanopia (blue-blind)
#525B64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5382;
/* rgb */ color: rgb(91, 83, 130);
/* oklch */ color: oklch(47.0% 0.075 291.0);
Tailwind
colors: {
  custom: {
    50: '#8a83a6',
    500: '#5b5382',
    950: '#000000',
  },
}
SCSS
$custom: #5b5382;
$custom-light: #8a83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5382",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 250.213,
    "s": 22.066,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.0753,
    "h": 291
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#5B5382
secondary
#A3A889
accent
#BF69B0
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5B5382

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

Preview Lab → · Contrast checker → · Palette generator →

#5B5382 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva