#5B2BB0#5B2BB0

#5B2BB0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.195 H 292.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5B2BB0
RGBrgb(91, 43, 176)
HSLhsl(262, 61%, 43%)
HSVhsv(262, 76%, 69%)
CMYKcmyk(48.3%, 75.6%, 0%, 31%)
CIE-LABlab(32.00, 50.79, -62.53)
CIE-LCHlch(32.00, 80.56, 309.08°)
OKLaboklab(43.67% 0.0759 -0.1794)
OKLCHoklch(43.67% 0.195 292.9)
XYZxyz(13.0126, 7.0861, 41.7480)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2BB0 #80B02B
analogous
#2B3DB0 #5B2BB0 #9D2BB0
triadic
#5B2BB0 #B05B2B #2BB05B
tetradic
#5B2BB0 #B02B3D #80B02B #2BB09D
square
#5B2BB0 #B02B3D #80B02B #2BB09D
split-complementary
#5B2BB0 #B09D2B #3DB02B
monochromatic
#28134E #421F7F #5B2BB0 #7946D2 #9C78DE

Accessibility & contrast

On white

8.69
#5B2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5B2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2BB0
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2BB0#FFFFFF#000000##FFFFFF
##5B2BB01.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#404F6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b2bb0;
/* rgb */ color: rgb(91, 43, 176);
/* oklch */ color: oklch(43.7% 0.195 292.9);
Tailwind
colors: {
  custom: {
    50: '#926ac9',
    500: '#5b2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5b2bb0;
$custom-light: #926ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2bb0",
  "rgb": {
    "r": 91,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 261.654,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.19481,
    "h": 292.9
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#5B2BB0
secondary
#A7C671
accent
#E444AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5B2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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