#5D30C9#5D30C9

#5D30C9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.218 H 288.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5D30C9
RGBrgb(93, 48, 201)
HSLhsl(258, 61%, 49%)
HSVhsv(258, 76%, 79%)
CMYKcmyk(53.7%, 76.1%, 0%, 21.2%)
CIE-LABlab(35.32, 55.52, -71.83)
CIE-LCHlch(35.32, 90.79, 307.70°)
OKLaboklab(46.73% 0.0683 -0.2066)
OKLCHoklch(46.73% 0.218 288.3)
XYZxyz(16.1107, 8.6573, 56.0691)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30C9 #9CC930
analogous
#3050C9 #5D30C9 #AA30C9
triadic
#5D30C9 #C95D30 #30C95D
tetradic
#5D30C9 #C93050 #9CC930 #30C9AA
square
#5D30C9 #C93050 #9CC930 #30C9AA
split-complementary
#5D30C9 #C9AA30 #50C930
monochromatic
#2F1866 #462498 #5D30C9 #825ED8 #A88FE4

Accessibility & contrast

On white

7.69
#5D30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5D30C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30C9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30C9#FFFFFF#000000##FFFFFF
##5D30C91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#315B7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d30c9;
/* rgb */ color: rgb(93, 48, 201);
/* oklch */ color: oklch(46.7% 0.218 288.3);
Tailwind
colors: {
  custom: {
    50: '#966edb',
    500: '#5d30c9',
    950: '#000000',
  },
}
SCSS
$custom: #5d30c9;
$custom-light: #966edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30c9",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 257.647,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46734,
    "c": 0.21762,
    "h": 288.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#5D30C9
secondary
#B9CF86
accent
#E543B5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5D30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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