#5D30AF#5D30AF

#5D30AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.188 H 293.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#5D30AF
RGBrgb(93, 48, 175)
HSLhsl(261, 57%, 44%)
HSVhsv(261, 73%, 69%)
CMYKcmyk(46.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(33.00, 48.43, -60.30)
CIE-LCHlch(33.00, 77.34, 308.77°)
OKLaboklab(44.39% 0.0748 -0.1728)
OKLCHoklch(44.39% 0.188 293.4)
XYZxyz(13.3069, 7.5358, 41.3026)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D30AF #82AF30
analogous
#3042AF #5D30AF #9C30AF
triadic
#5D30AF #AF5D30 #30AF5D
tetradic
#5D30AF #AF3042 #82AF30 #30AF9C
square
#5D30AF #AF3042 #82AF30 #30AF9C
split-complementary
#5D30AF #AF9C30 #42AF30
monochromatic
#2A164F #43237F #5D30AF #7B4ECE #9F7EDC

Accessibility & contrast

On white

8.38
#5D30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5D30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D30AF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D30AF#FFFFFF#000000##FFFFFF
##5D30AF1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#44516C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d30af;
/* rgb */ color: rgb(93, 48, 175);
/* oklch */ color: oklch(44.4% 0.188 293.4);
Tailwind
colors: {
  custom: {
    50: '#936cc8',
    500: '#5d30af',
    950: '#000000',
  },
}
SCSS
$custom: #5d30af;
$custom-light: #936cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d30af",
  "rgb": {
    "r": 93,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 261.26,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.1883,
    "h": 293.4
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#5D30AF
secondary
#A9C476
accent
#E048AA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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