#5C30BB#5C30BB

#5C30BB is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.202 H 290.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5C30BB
RGBrgb(92, 48, 187)
HSLhsl(259, 59%, 46%)
HSVhsv(259, 74%, 73%)
CMYKcmyk(50.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(33.93, 51.55, -65.89)
CIE-LCHlch(33.93, 83.66, 308.04°)
OKLaboklab(45.35% 0.0705 -0.1893)
OKLCHoklch(45.35% 0.202 290.4)
XYZxyz(14.4377, 7.9765, 47.7830)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30BB #8FBB30
analogous
#3049BB #5C30BB #A130BB
triadic
#5C30BB #BB5C30 #30BB5C
tetradic
#5C30BB #BB3049 #8FBB30 #30BBA1
square
#5C30BB #BB3049 #8FBB30 #30BBA1
split-complementary
#5C30BB #BBA130 #49BB30
monochromatic
#2C175A #44238A #5C30BB #7D55D3 #A286E0

Accessibility & contrast

On white

8.09
#5C30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30BB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30BB#FFFFFF#000000##FFFFFF
##5C30BB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#3B5673
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c30bb;
/* rgb */ color: rgb(92, 48, 187);
/* oklch */ color: oklch(45.4% 0.202 290.4);
Tailwind
colors: {
  custom: {
    50: '#946dd1',
    500: '#5c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c30bb;
$custom-light: #946dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30bb",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 258.993,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.20196,
    "h": 290.4
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#5C30BB
secondary
#B1C97D
accent
#E245B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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