#5B30AE#5B30AE

#5B30AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.187 H 292.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5B30AE
RGBrgb(91, 48, 174)
HSLhsl(260, 57%, 44%)
HSVhsv(260, 72%, 68%)
CMYKcmyk(47.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.69, 47.82, -60.22)
CIE-LCHlch(32.69, 76.90, 308.45°)
OKLaboklab(44.1% 0.072 -0.1726)
OKLCHoklch(44.1% 0.187 292.6)
XYZxyz(13.0092, 7.3936, 40.7779)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B30AE #83AE30
analogous
#3044AE #5B30AE #9A30AE
triadic
#5B30AE #AE5B30 #30AE5B
tetradic
#5B30AE #AE3044 #83AE30 #30AE9A
square
#5B30AE #AE3044 #83AE30 #30AE9A
split-complementary
#5B30AE #AE9A30 #44AE30
monochromatic
#29164E #42237E #5B30AE #794DCE #9D7DDB

Accessibility & contrast

On white

8.47
#5B30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5B30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B30AE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B30AE#FFFFFF#000000##FFFFFF
##5B30AE1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#41516C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b30ae;
/* rgb */ color: rgb(91, 48, 174);
/* oklch */ color: oklch(44.1% 0.187 292.6);
Tailwind
colors: {
  custom: {
    50: '#916cc7',
    500: '#5b30ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b30ae;
$custom-light: #916cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b30ae",
  "rgb": {
    "r": 91,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 260.476,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.18707,
    "h": 292.6
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#5B30AE
secondary
#A9C476
accent
#E048AC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5B30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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