#5E30AF#5E30AF

#5E30AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.188 H 293.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5E30AF
RGBrgb(94, 48, 175)
HSLhsl(262, 57%, 44%)
HSVhsv(262, 73%, 69%)
CMYKcmyk(46.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(33.11, 48.61, -60.11)
CIE-LCHlch(33.11, 77.30, 308.96°)
OKLaboklab(44.5% 0.0762 -0.1722)
OKLCHoklch(44.5% 0.188 293.9)
XYZxyz(13.4088, 7.5883, 41.3073)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30AF #81AF30
analogous
#3041AF #5E30AF #9D30AF
triadic
#5E30AF #AF5E30 #30AF5E
tetradic
#5E30AF #AF3041 #81AF30 #30AF9D
square
#5E30AF #AF3041 #81AF30 #30AF9D
split-complementary
#5E30AF #AF9D30 #41AF30
monochromatic
#2A164F #44237F #5E30AF #7C4ECE #A07EDC

Accessibility & contrast

On white

8.34
#5E30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5E30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30AF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30AF#FFFFFF#000000##FFFFFF
##5E30AF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#46516C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e30af;
/* rgb */ color: rgb(94, 48, 175);
/* oklch */ color: oklch(44.5% 0.188 293.9);
Tailwind
colors: {
  custom: {
    50: '#936dc8',
    500: '#5e30af',
    950: '#000000',
  },
}
SCSS
$custom: #5e30af;
$custom-light: #936dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30af",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 261.732,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44499,
    "c": 0.18835,
    "h": 293.9
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#5E30AF
secondary
#A8C476
accent
#E048A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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