#5A30AE#5A30AE

#5A30AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.187 H 292.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5A30AE
RGBrgb(90, 48, 174)
HSLhsl(260, 57%, 44%)
HSVhsv(260, 72%, 68%)
CMYKcmyk(48.3%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.58, 47.65, -60.41)
CIE-LCHlch(32.58, 76.94, 308.27°)
OKLaboklab(43.99% 0.0706 -0.1732)
OKLCHoklch(43.99% 0.187 292.2)
XYZxyz(12.9112, 7.3431, 40.7733)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A30AE #84AE30
analogous
#3045AE #5A30AE #9930AE
triadic
#5A30AE #AE5A30 #30AE5A
tetradic
#5A30AE #AE3045 #84AE30 #30AE99
square
#5A30AE #AE3045 #84AE30 #30AE99
split-complementary
#5A30AE #AE9930 #45AE30
monochromatic
#28164E #41237E #5A30AE #784DCE #9D7DDB

Accessibility & contrast

On white

8.51
#5A30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5A30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A30AE
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A30AE#FFFFFF#000000##FFFFFF
##5A30AE1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#3F516C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a30ae;
/* rgb */ color: rgb(90, 48, 174);
/* oklch */ color: oklch(44.0% 0.187 292.2);
Tailwind
colors: {
  custom: {
    50: '#916cc7',
    500: '#5a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #5a30ae;
$custom-light: #916cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a30ae",
  "rgb": {
    "r": 90,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 260,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.18705,
    "h": 292.2
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#5A30AE
secondary
#AAC476
accent
#E048AD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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