#5C30BD#5C30BD

#5C30BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.204 H 290.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5C30BD
RGBrgb(92, 48, 189)
HSLhsl(259, 59%, 46%)
HSVhsv(259, 75%, 74%)
CMYKcmyk(51.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(34.11, 52.10, -66.78)
CIE-LCHlch(34.11, 84.70, 307.96°)
OKLaboklab(45.53% 0.07 -0.1918)
OKLCHoklch(45.53% 0.204 290)
XYZxyz(14.6532, 8.0627, 48.9184)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30BD #91BD30
analogous
#304BBD #5C30BD #A330BD
triadic
#5C30BD #BD5C30 #30BD5C
tetradic
#5C30BD #BD304B #91BD30 #30BDA3
square
#5C30BD #BD304B #91BD30 #30BDA3
split-complementary
#5C30BD #BDA330 #4BBD30
monochromatic
#2C175B #44248C #5C30BD #7D56D4 #A387E0

Accessibility & contrast

On white

8.04
#5C30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30BD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30BD#FFFFFF#000000##FFFFFF
##5C30BD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#395774
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c30bd;
/* rgb */ color: rgb(92, 48, 189);
/* oklch */ color: oklch(45.5% 0.204 290.0);
Tailwind
colors: {
  custom: {
    50: '#946dd2',
    500: '#5c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c30bd;
$custom-light: #946dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30bd",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 258.723,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.20422,
    "h": 290
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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