#5B2483#5B2483

#5B2483 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.153 H 307.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#5B2483
RGBrgb(91, 36, 131)
HSLhsl(275, 57%, 33%)
HSVhsv(275, 73%, 51%)
CMYKcmyk(30.5%, 72.5%, 0%, 48.6%)
CIE-LABlab(27.09, 42.52, -43.04)
CIE-LCHlch(27.09, 60.50, 314.66°)
OKLaboklab(39.03% 0.0924 -0.1221)
OKLCHoklch(39.03% 0.153 307.1)
XYZxyz(9.0411, 5.1247, 21.9812)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2483 #4C8324
analogous
#2C2483 #5B2483 #83247B
triadic
#5B2483 #835B24 #24835B
tetradic
#5B2483 #832C24 #4C8324 #247B83
square
#5B2483 #832C24 #4C8324 #247B83
split-complementary
#5B2483 #7B8324 #24832C
monochromatic
#180A23 #3A1753 #5B2483 #7C31B3 #9B52CF

Accessibility & contrast

On white

10.37
#5B2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5B2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2483
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2483#FFFFFF#000000##FFFFFF
##5B24831.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#064081
Tritanopia (blue-blind)
#543A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5b2483;
/* rgb */ color: rgb(91, 36, 131);
/* oklch */ color: oklch(39.0% 0.153 307.1);
Tailwind
colors: {
  custom: {
    50: '#8d64a8',
    500: '#5b2483',
    950: '#000000',
  },
}
SCSS
$custom: #5b2483;
$custom-light: #8d64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2483",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 274.737,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.15313,
    "h": 307.1
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#5B2483
secondary
#7AB34F
accent
#E04888
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #5B2483

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

Preview Lab → · Contrast checker → · Palette generator →

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