#5E30DB#5E30DB

#5E30DB is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.237 H 285.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5E30DB
RGBrgb(94, 48, 219)
HSLhsl(256, 70%, 52%)
HSVhsv(256, 78%, 86%)
CMYKcmyk(57.1%, 78.1%, 0%, 14.1%)
CIE-LABlab(37.13, 60.53, -79.26)
CIE-LCHlch(37.13, 99.73, 307.37°)
OKLaboklab(48.54% 0.0647 -0.2283)
OKLCHoklch(48.54% 0.237 285.8)
XYZxyz(18.4554, 9.6070, 67.8859)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30DB #ADDB30
analogous
#3058DB #5E30DB #B330DB
triadic
#5E30DB #DB5E30 #30DB5E
tetradic
#5E30DB #DB3058 #ADDB30 #30DBB3
square
#5E30DB #DB3058 #ADDB30 #30DBB3
split-complementary
#5E30DB #DBB330 #58DB30
monochromatic
#31157B #451EAF #5E30DB #8764E4 #AF98ED

Accessibility & contrast

On white

7.19
#5E30DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E30DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30DB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30DB#FFFFFF#000000##FFFFFF
##5E30DB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#1C6285
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e30db;
/* rgb */ color: rgb(94, 48, 219);
/* oklch */ color: oklch(48.5% 0.237 285.8);
Tailwind
colors: {
  custom: {
    50: '#996fe8',
    500: '#5e30db',
    950: '#000000',
  },
}
SCSS
$custom: #5e30db;
$custom-light: #996fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30db",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 256.14,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.23728,
    "h": 285.8
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#5E30DB
secondary
#C5D98E
accent
#ED3BBD
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E30DB

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

Preview Lab → · Contrast checker → · Palette generator →

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