#5C30AA#5C30AA

#5C30AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.182 H 294.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5C30AA
RGBrgb(92, 48, 170)
HSLhsl(262, 56%, 43%)
HSVhsv(262, 72%, 67%)
CMYKcmyk(45.9%, 71.8%, 0%, 33.3%)
CIE-LABlab(32.46, 46.90, -58.19)
CIE-LCHlch(32.46, 74.74, 308.87°)
OKLaboklab(43.86% 0.0743 -0.1667)
OKLCHoklch(43.86% 0.182 294)
XYZxyz(12.7243, 7.2911, 38.7593)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C30AA #7EAA30
analogous
#3041AA #5C30AA #9930AA
triadic
#5C30AA #AA5C30 #30AA5C
tetradic
#5C30AA #AA3041 #7EAA30 #30AA99
square
#5C30AA #AA3041 #7EAA30 #30AA99
split-complementary
#5C30AA #AA9930 #41AA30
monochromatic
#28154B #42237A #5C30AA #7A4BCC #9D7BDA

Accessibility & contrast

On white

8.54
#5C30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5C30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C30AA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C30AA#FFFFFF#000000##FFFFFF
##5C30AA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#454F6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c30aa;
/* rgb */ color: rgb(92, 48, 170);
/* oklch */ color: oklch(43.9% 0.182 294.0);
Tailwind
colors: {
  custom: {
    50: '#916cc4',
    500: '#5c30aa',
    950: '#000000',
  },
}
SCSS
$custom: #5c30aa;
$custom-light: #916cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c30aa",
  "rgb": {
    "r": 92,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 261.639,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43855,
    "c": 0.18249,
    "h": 294
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#5C30AA
secondary
#A6C274
accent
#DF49A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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