#5D30A9#5D30A9

#5D30A9 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.181 H 294.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#5D30A9
RGBrgb(93, 48, 169)
HSLhsl(262, 56%, 43%)
HSVhsv(262, 72%, 66%)
CMYKcmyk(45%, 71.6%, 0%, 33.7%)
CIE-LABlab(32.49, 46.81, -57.53)
CIE-LCHlch(32.49, 74.17, 309.13°)
OKLaboklab(43.88% 0.076 -0.1647)
OKLCHoklch(43.88% 0.181 294.8)
XYZxyz(12.7307, 7.3053, 38.2677)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30A9 #7CA930
analogous
#3040A9 #5D30A9 #9930A9
triadic
#5D30A9 #A95D30 #30A95D
tetradic
#5D30A9 #A93040 #7CA930 #30A999
square
#5D30A9 #A93040 #7CA930 #30A999
split-complementary
#5D30A9 #A99930 #40A930
monochromatic
#29154A #432279 #5D30A9 #7B4ACC #9E7AD9

Accessibility & contrast

On white

8.53
#5D30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5D30A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30A9
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30A9#FFFFFF#000000##FFFFFF
##5D30A91.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#484F69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d30a9;
/* rgb */ color: rgb(93, 48, 169);
/* oklch */ color: oklch(43.9% 0.181 294.8);
Tailwind
colors: {
  custom: {
    50: '#926cc3',
    500: '#5d30a9',
    950: '#000000',
  },
}
SCSS
$custom: #5d30a9;
$custom-light: #926cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30a9",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 262.314,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.18139,
    "h": 294.8
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#5D30A9
secondary
#A4C273
accent
#DF49A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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