#5C30AB#5C30AB

#5C30AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.184 H 293.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#5C30AB
RGBrgb(92, 48, 171)
HSLhsl(261, 56%, 43%)
HSVhsv(261, 72%, 67%)
CMYKcmyk(46.2%, 71.9%, 0%, 32.9%)
CIE-LABlab(32.54, 47.17, -58.65)
CIE-LCHlch(32.54, 75.27, 308.81°)
OKLaboklab(43.94% 0.0741 -0.168)
OKLCHoklch(43.94% 0.184 293.8)
XYZxyz(12.8193, 7.3291, 39.2594)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30AB #7FAB30
analogous
#3042AB #5C30AB #9930AB
triadic
#5C30AB #AB5C30 #30AB5C
tetradic
#5C30AB #AB3042 #7FAB30 #30AB99
square
#5C30AB #AB3042 #7FAB30 #30AB99
split-complementary
#5C30AB #AB9930 #42AB30
monochromatic
#29154B #42237B #5C30AB #7A4CCD #9D7BDA

Accessibility & contrast

On white

8.52
#5C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30AB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30AB#FFFFFF#000000##FFFFFF
##5C30AB1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#45506A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c30ab;
/* rgb */ color: rgb(92, 48, 171);
/* oklch */ color: oklch(43.9% 0.184 293.8);
Tailwind
colors: {
  custom: {
    50: '#916cc5',
    500: '#5c30ab',
    950: '#000000',
  },
}
SCSS
$custom: #5c30ab;
$custom-light: #916cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30ab",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 261.463,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.18365,
    "h": 293.8
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#5C30AB
secondary
#A7C374
accent
#DF48A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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