#5D30BB#5D30BB

#5D30BB is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.202 H 290.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5D30BB
RGBrgb(93, 48, 187)
HSLhsl(259, 59%, 46%)
HSVhsv(259, 74%, 73%)
CMYKcmyk(50.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(34.04, 51.70, -65.71)
CIE-LCHlch(34.04, 83.61, 308.20°)
OKLaboklab(45.45% 0.072 -0.1887)
OKLCHoklch(45.45% 0.202 290.9)
XYZxyz(14.5382, 8.0283, 47.7877)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30BB #8EBB30
analogous
#3049BB #5D30BB #A230BB
triadic
#5D30BB #BB5D30 #30BB5D
tetradic
#5D30BB #BB3049 #8EBB30 #30BBA2
square
#5D30BB #BB3049 #8EBB30 #30BBA2
split-complementary
#5D30BB #BBA230 #49BB30
monochromatic
#2D175A #45238A #5D30BB #7E55D3 #A386E0

Accessibility & contrast

On white

8.06
#5D30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5D30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30BB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30BB#FFFFFF#000000##FFFFFF
##5D30BB1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#3D5673
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d30bb;
/* rgb */ color: rgb(93, 48, 187);
/* oklch */ color: oklch(45.5% 0.202 290.9);
Tailwind
colors: {
  custom: {
    50: '#946dd1',
    500: '#5d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d30bb;
$custom-light: #946dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30bb",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 259.424,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.20195,
    "h": 290.9
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#5D30BB
secondary
#B1C97D
accent
#E245B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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