#5D30DC#5D30DC

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

Color values

HEX#5D30DC
RGBrgb(93, 48, 220)
HSLhsl(256, 71%, 53%)
HSVhsv(256, 78%, 86%)
CMYKcmyk(57.7%, 78.2%, 0%, 13.7%)
CIE-LABlab(37.13, 60.69, -79.84)
CIE-LCHlch(37.13, 100.29, 307.24°)
OKLaboklab(48.54% 0.0629 -0.23)
OKLCHoklch(48.54% 0.238 285.3)
XYZxyz(18.4855, 9.6072, 68.5766)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30DC #AFDC30
analogous
#3059DC #5D30DC #B330DC
triadic
#5D30DC #DC5D30 #30DC5D
tetradic
#5D30DC #DC3059 #AFDC30 #30DCB3
square
#5D30DC #DC3059 #AFDC30 #30DCB3
split-complementary
#5D30DC #DCB330 #59DC30
monochromatic
#30157D #441EB1 #5D30DC #8664E5 #AF99EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D30DC#FFFFFF#000000##FFFFFF
##5D30DC1.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)
#005CE1
Deuteranopia (green-blind)
#0052D9
Tritanopia (blue-blind)
#146386
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d30dc;
/* rgb */ color: rgb(93, 48, 220);
/* oklch */ color: oklch(48.5% 0.238 285.3);
Tailwind
colors: {
  custom: {
    50: '#996fe8',
    500: '#5d30dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d30dc;
$custom-light: #996fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30dc",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 220
  },
  "hsl": {
    "h": 255.698,
    "s": 71.074,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.23846,
    "h": 285.3
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#5D30DC
secondary
#C6D98F
accent
#EE3ABF
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D30DC

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

Preview Lab → · Contrast checker → · Palette generator →

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