#5C30B0#5C30B0

#5C30B0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.189 H 292.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5C30B0
RGBrgb(92, 48, 176)
HSLhsl(261, 57%, 44%)
HSVhsv(261, 73%, 69%)
CMYKcmyk(47.7%, 72.7%, 0%, 31%)
CIE-LABlab(32.97, 48.54, -60.95)
CIE-LCHlch(32.97, 77.91, 308.53°)
OKLaboklab(44.37% 0.0731 -0.1747)
OKLCHoklch(44.37% 0.189 292.7)
XYZxyz(13.3049, 7.5234, 41.8170)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30B0 #84B030
analogous
#3044B0 #5C30B0 #9C30B0
triadic
#5C30B0 #B05C30 #30B05C
tetradic
#5C30B0 #B03044 #84B030 #30B09C
square
#5C30B0 #B03044 #84B030 #30B09C
split-complementary
#5C30B0 #B09C30 #44B030
monochromatic
#2A1650 #432380 #5C30B0 #7B4ECF #9F7EDC

Accessibility & contrast

On white

8.38
#5C30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30B0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30B0#FFFFFF#000000##FFFFFF
##5C30B01.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#42516D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c30b0;
/* rgb */ color: rgb(92, 48, 176);
/* oklch */ color: oklch(44.4% 0.189 292.7);
Tailwind
colors: {
  custom: {
    50: '#926cc9',
    500: '#5c30b0',
    950: '#000000',
  },
}
SCSS
$custom: #5c30b0;
$custom-light: #926cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30b0",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 260.625,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.18941,
    "h": 292.7
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#5C30B0
secondary
#AAC577
accent
#E047AC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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