#5C30AE#5C30AE

#5C30AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.187 H 293.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5C30AE
RGBrgb(92, 48, 174)
HSLhsl(261, 57%, 44%)
HSVhsv(261, 72%, 68%)
CMYKcmyk(47.1%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.80, 47.99, -60.03)
CIE-LCHlch(32.80, 76.86, 308.64°)
OKLaboklab(44.2% 0.0735 -0.1721)
OKLCHoklch(44.2% 0.187 293.1)
XYZxyz(13.1085, 7.4448, 40.7825)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30AE #82AE30
analogous
#3043AE #5C30AE #9B30AE
triadic
#5C30AE #AE5C30 #30AE5C
tetradic
#5C30AE #AE3043 #82AE30 #30AE9B
square
#5C30AE #AE3043 #82AE30 #30AE9B
split-complementary
#5C30AE #AE9B30 #43AE30
monochromatic
#29164E #43237E #5C30AE #7A4DCE #9E7DDB

Accessibility & contrast

On white

8.44
#5C30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5C30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30AE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30AE#FFFFFF#000000##FFFFFF
##5C30AE1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#43516C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c30ae;
/* rgb */ color: rgb(92, 48, 174);
/* oklch */ color: oklch(44.2% 0.187 293.1);
Tailwind
colors: {
  custom: {
    50: '#926cc7',
    500: '#5c30ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c30ae;
$custom-light: #926cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30ae",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 260.952,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.442,
    "c": 0.18711,
    "h": 293.1
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#5C30AE
secondary
#A9C476
accent
#E048AB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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