#5C30B1#5C30B1

#5C30B1 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.191 H 292.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#5C30B1
RGBrgb(92, 48, 177)
HSLhsl(260, 57%, 44%)
HSVhsv(260, 73%, 69%)
CMYKcmyk(48%, 72.9%, 0%, 30.6%)
CIE-LABlab(33.06, 48.81, -61.40)
CIE-LCHlch(33.06, 78.44, 308.48°)
OKLaboklab(44.46% 0.0729 -0.1761)
OKLCHoklch(44.46% 0.191 292.5)
XYZxyz(13.4042, 7.5631, 42.3400)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30B1 #85B130
analogous
#3045B1 #5C30B1 #9D30B1
triadic
#5C30B1 #B15C30 #30B15C
tetradic
#5C30B1 #B13045 #85B130 #30B19D
square
#5C30B1 #B13045 #85B130 #30B19D
split-complementary
#5C30B1 #B19D30 #45B130
monochromatic
#2A1651 #432381 #5C30B1 #7B4FCF #9F7FDC

Accessibility & contrast

On white

8.36
#5C30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5C30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30B1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30B1#FFFFFF#000000##FFFFFF
##5C30B11.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#41526E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c30b1;
/* rgb */ color: rgb(92, 48, 177);
/* oklch */ color: oklch(44.5% 0.191 292.5);
Tailwind
colors: {
  custom: {
    50: '#926cc9',
    500: '#5c30b1',
    950: '#000000',
  },
}
SCSS
$custom: #5c30b1;
$custom-light: #926cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30b1",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 260.465,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.19056,
    "h": 292.5
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#5C30B1
secondary
#ABC578
accent
#E147AC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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