#5C30B2#5C30B2

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

Color values

HEX#5C30B2
RGBrgb(92, 48, 178)
HSLhsl(260, 58%, 44%)
HSVhsv(260, 73%, 70%)
CMYKcmyk(48.3%, 73%, 0%, 30.2%)
CIE-LABlab(33.14, 49.08, -61.86)
CIE-LCHlch(33.14, 78.96, 308.43°)
OKLaboklab(44.55% 0.0726 -0.1774)
OKLCHoklch(44.55% 0.192 292.3)
XYZxyz(13.5042, 7.6031, 42.8669)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30B2 #86B230
analogous
#3045B2 #5C30B2 #9D30B2
triadic
#5C30B2 #B25C30 #30B25C
tetradic
#5C30B2 #B23045 #86B230 #30B29D
square
#5C30B2 #B23045 #86B230 #30B29D
split-complementary
#5C30B2 #B29D30 #45B230
monochromatic
#2A1652 #432382 #5C30B2 #7B50D0 #9F80DD

Accessibility & contrast

On white

8.33
#5C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5C30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30B2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30B2#FFFFFF#000000##FFFFFF
##5C30B21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c30b2;
/* rgb */ color: rgb(92, 48, 178);
/* oklch */ color: oklch(44.5% 0.192 292.3);
Tailwind
colors: {
  custom: {
    50: '#926cca',
    500: '#5c30b2',
    950: '#000000',
  },
}
SCSS
$custom: #5c30b2;
$custom-light: #926cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30b2",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 260.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.19171,
    "h": 292.3
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#5C30B2
secondary
#ABC678
accent
#E147AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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