#5E30AE#5E30AE

#5E30AE is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.187 H 294.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5E30AE
RGBrgb(94, 48, 174)
HSLhsl(262, 57%, 44%)
HSVhsv(262, 72%, 68%)
CMYKcmyk(46%, 72.4%, 0%, 31.8%)
CIE-LABlab(33.03, 48.33, -59.65)
CIE-LCHlch(33.03, 76.78, 309.02°)
OKLaboklab(44.41% 0.0765 -0.1709)
OKLCHoklch(44.41% 0.187 294.1)
XYZxyz(13.3109, 7.5492, 40.7920)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30AE #80AE30
analogous
#3041AE #5E30AE #9D30AE
triadic
#5E30AE #AE5E30 #30AE5E
tetradic
#5E30AE #AE3041 #80AE30 #30AE9D
square
#5E30AE #AE3041 #80AE30 #30AE9D
split-complementary
#5E30AE #AE9D30 #41AE30
monochromatic
#2A164E #44237E #5E30AE #7C4DCE #A07DDB

Accessibility & contrast

On white

8.37
#5E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5E30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30AE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30AE#FFFFFF#000000##FFFFFF
##5E30AE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e30ae;
/* rgb */ color: rgb(94, 48, 174);
/* oklch */ color: oklch(44.4% 0.187 294.1);
Tailwind
colors: {
  custom: {
    50: '#936cc7',
    500: '#5e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e30ae;
$custom-light: #936cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30ae",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 261.905,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.1872,
    "h": 294.1
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#5E30AE
secondary
#A7C476
accent
#E048A8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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