#5E30B0#5E30B0

#5E30B0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.189 H 293.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#5E30B0
RGBrgb(94, 48, 176)
HSLhsl(262, 57%, 44%)
HSVhsv(262, 73%, 69%)
CMYKcmyk(46.6%, 72.7%, 0%, 31%)
CIE-LABlab(33.20, 48.88, -60.57)
CIE-LCHlch(33.20, 77.83, 308.90°)
OKLaboklab(44.59% 0.076 -0.1736)
OKLCHoklch(44.59% 0.189 293.7)
XYZxyz(13.5074, 7.6278, 41.8265)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30B0 #82B030
analogous
#3042B0 #5E30B0 #9E30B0
triadic
#5E30B0 #B05E30 #30B05E
tetradic
#5E30B0 #B03042 #82B030 #30B09E
square
#5E30B0 #B03042 #82B030 #30B09E
split-complementary
#5E30B0 #B09E30 #42B030
monochromatic
#2B1650 #442380 #5E30B0 #7D4ECF #A07EDC

Accessibility & contrast

On white

8.31
#5E30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5E30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30B0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30B0#FFFFFF#000000##FFFFFF
##5E30B01.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#46516D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e30b0;
/* rgb */ color: rgb(94, 48, 176);
/* oklch */ color: oklch(44.6% 0.189 293.7);
Tailwind
colors: {
  custom: {
    50: '#936dc9',
    500: '#5e30b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e30b0;
$custom-light: #936dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30b0",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 261.563,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.18949,
    "h": 293.7
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#5E30B0
secondary
#A9C577
accent
#E047A9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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