#5C30BF#5C30BF

#5C30BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.206 H 289.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5C30BF
RGBrgb(92, 48, 191)
HSLhsl(258, 60%, 47%)
HSVhsv(258, 75%, 75%)
CMYKcmyk(51.8%, 74.9%, 0%, 25.1%)
CIE-LABlab(34.29, 52.65, -67.66)
CIE-LCHlch(34.29, 85.73, 307.89°)
OKLaboklab(45.71% 0.0695 -0.1944)
OKLCHoklch(45.71% 0.206 289.7)
XYZxyz(14.8718, 8.1501, 50.0696)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30BF #93BF30
analogous
#304BBF #5C30BF #A430BF
triadic
#5C30BF #BF5C30 #30BF5C
tetradic
#5C30BF #BF304B #93BF30 #30BFA4
square
#5C30BF #BF304B #93BF30 #30BFA4
split-complementary
#5C30BF #BFA430 #4BBF30
monochromatic
#2D175D #44248E #5C30BF #7E57D5 #A488E1

Accessibility & contrast

On white

7.98
#5C30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5C30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30BF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30BF#FFFFFF#000000##FFFFFF
##5C30BF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#385775
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c30bf;
/* rgb */ color: rgb(92, 48, 191);
/* oklch */ color: oklch(45.7% 0.206 289.7);
Tailwind
colors: {
  custom: {
    50: '#946dd3',
    500: '#5c30bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c30bf;
$custom-light: #946dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30bf",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 258.462,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45714,
    "c": 0.20647,
    "h": 289.7
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#5C30BF
secondary
#B4CB80
accent
#E345B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5C30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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