#5C30AF#5C30AF

#5C30AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.188 H 292.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5C30AF
RGBrgb(92, 48, 175)
HSLhsl(261, 57%, 44%)
HSVhsv(261, 73%, 69%)
CMYKcmyk(47.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(32.88, 48.26, -60.49)
CIE-LCHlch(32.88, 77.38, 308.59°)
OKLaboklab(44.29% 0.0733 -0.1734)
OKLCHoklch(44.29% 0.188 292.9)
XYZxyz(13.2063, 7.4839, 41.2978)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30AF #83AF30
analogous
#3043AF #5C30AF #9B30AF
triadic
#5C30AF #AF5C30 #30AF5C
tetradic
#5C30AF #AF3043 #83AF30 #30AF9B
square
#5C30AF #AF3043 #83AF30 #30AF9B
split-complementary
#5C30AF #AF9B30 #43AF30
monochromatic
#2A164F #43237F #5C30AF #7A4ECE #9E7EDC

Accessibility & contrast

On white

8.41
#5C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30AF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30AF#FFFFFF#000000##FFFFFF
##5C30AF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c30af;
/* rgb */ color: rgb(92, 48, 175);
/* oklch */ color: oklch(44.3% 0.188 292.9);
Tailwind
colors: {
  custom: {
    50: '#926cc8',
    500: '#5c30af',
    950: '#000000',
  },
}
SCSS
$custom: #5c30af;
$custom-light: #926cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30af",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 260.787,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.18826,
    "h": 292.9
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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