#5E30BF#5E30BF

#5E30BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.206 H 290.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5E30BF
RGBrgb(94, 48, 191)
HSLhsl(259, 60%, 47%)
HSVhsv(259, 75%, 75%)
CMYKcmyk(50.8%, 74.9%, 0%, 25.1%)
CIE-LABlab(34.51, 52.94, -67.30)
CIE-LCHlch(34.51, 85.63, 308.19°)
OKLaboklab(45.91% 0.0725 -0.1933)
OKLCHoklch(45.91% 0.206 290.5)
XYZxyz(15.0743, 8.2545, 50.0791)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30BF #91BF30
analogous
#3049BF #5E30BF #A630BF
triadic
#5E30BF #BF5E30 #30BF5E
tetradic
#5E30BF #BF3049 #91BF30 #30BFA6
square
#5E30BF #BF3049 #91BF30 #30BFA6
split-complementary
#5E30BF #BFA630 #49BF30
monochromatic
#2E175D #46248E #5E30BF #8057D5 #A588E1

Accessibility & contrast

On white

7.92
#5E30BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5E30BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30BF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30BF#FFFFFF#000000##FFFFFF
##5E30BF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#3C5775
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e30bf;
/* rgb */ color: rgb(94, 48, 191);
/* oklch */ color: oklch(45.9% 0.206 290.5);
Tailwind
colors: {
  custom: {
    50: '#956dd3',
    500: '#5e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e30bf;
$custom-light: #956dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30bf",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 259.301,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.20645,
    "h": 290.5
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#5E30BF
secondary
#B3CB80
accent
#E345B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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