#5D30B4#5D30B4

#5D30B4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.194 H 292.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5D30B4
RGBrgb(93, 48, 180)
HSLhsl(260, 58%, 45%)
HSVhsv(260, 73%, 71%)
CMYKcmyk(48.3%, 73.3%, 0%, 29.4%)
CIE-LABlab(33.43, 49.79, -62.57)
CIE-LCHlch(33.43, 79.97, 308.51°)
OKLaboklab(44.83% 0.0736 -0.1795)
OKLCHoklch(44.83% 0.194 292.3)
XYZxyz(13.8071, 7.7359, 43.9369)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30B4 #87B430
analogous
#3045B4 #5D30B4 #9F30B4
triadic
#5D30B4 #B45D30 #30B45D
tetradic
#5D30B4 #B43045 #87B430 #30B49F
square
#5D30B4 #B43045 #87B430 #30B49F
split-complementary
#5D30B4 #B49F30 #45B430
monochromatic
#2B1653 #442384 #5D30B4 #7C51D1 #A181DD

Accessibility & contrast

On white

8.24
#5D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5D30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30B4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30B4#FFFFFF#000000##FFFFFF
##5D30B41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#41536F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d30b4;
/* rgb */ color: rgb(93, 48, 180);
/* oklch */ color: oklch(44.8% 0.194 292.3);
Tailwind
colors: {
  custom: {
    50: '#936dcb',
    500: '#5d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #5d30b4;
$custom-light: #936dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30b4",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 260.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.19401,
    "h": 292.3
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#5D30B4
secondary
#ACC679
accent
#E147AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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