#5D30DB#5D30DB

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

Color values

HEX#5D30DB
RGBrgb(93, 48, 219)
HSLhsl(256, 70%, 52%)
HSVhsv(256, 78%, 86%)
CMYKcmyk(57.5%, 78.1%, 0%, 14.1%)
CIE-LABlab(37.03, 60.42, -79.42)
CIE-LCHlch(37.03, 99.79, 307.26°)
OKLaboklab(48.45% 0.0632 -0.2288)
OKLCHoklch(48.45% 0.237 285.4)
XYZxyz(18.3535, 9.5544, 67.8812)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30DB #AEDB30
analogous
#3059DB #5D30DB #B230DB
triadic
#5D30DB #DB5D30 #30DB5D
tetradic
#5D30DB #DB3059 #AEDB30 #30DBB2
square
#5D30DB #DB3059 #AEDB30 #30DBB2
split-complementary
#5D30DB #DBB230 #59DB30
monochromatic
#30157B #451EAF #5D30DB #8664E4 #AF98ED

Accessibility & contrast

On white

7.21
#5D30DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D30DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30DB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30DB#FFFFFF#000000##FFFFFF
##5D30DB1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d30db;
/* rgb */ color: rgb(93, 48, 219);
/* oklch */ color: oklch(48.4% 0.237 285.4);
Tailwind
colors: {
  custom: {
    50: '#996fe8',
    500: '#5d30db',
    950: '#000000',
  },
}
SCSS
$custom: #5d30db;
$custom-light: #996fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30db",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 255.789,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.23737,
    "h": 285.4
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D30DB

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

Preview Lab → · Contrast checker → · Palette generator →

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